forked from BgLUG/bglug.it
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
7a6f1b7763 | |||
26f07b4cd3 |
BIN
assets/images/placeholder_autore.png
Normal file
BIN
assets/images/placeholder_autore.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 49 KiB |
13
config.yml
13
config.yml
@ -10,7 +10,7 @@ copyright: 2024 © Bergamo Linux Users Group
|
||||
paginate: 20
|
||||
timeout: 1800s
|
||||
enableRobotsTXT: true
|
||||
params:
|
||||
params:
|
||||
description: Bergamo Linux Users Group
|
||||
social:
|
||||
- title: Mattermost
|
||||
@ -52,6 +52,7 @@ params:
|
||||
|
||||
taxonomies:
|
||||
tag: tags
|
||||
author: author
|
||||
|
||||
languages:
|
||||
it:
|
||||
@ -117,6 +118,11 @@ languages:
|
||||
parent: about
|
||||
pageRef: /pages/segreteria
|
||||
weight: 54
|
||||
- identifer: authors
|
||||
name: Autori
|
||||
parent: about
|
||||
pageRef: /author
|
||||
weight: 55
|
||||
- identifier: privacy
|
||||
name: Privacy
|
||||
pageRef: /pages/privacy-policy
|
||||
@ -184,6 +190,11 @@ languages:
|
||||
name: Secretery
|
||||
pageRef: /pages/segreteria
|
||||
weight: 54
|
||||
- identifer: authors
|
||||
name: Authors
|
||||
parent: about
|
||||
pageRef: /author
|
||||
weight: 55
|
||||
- identifier: privacy
|
||||
name: Privacy
|
||||
pageRef: /pages/privacy-policy
|
||||
|
3
content/author/_index.en.md
Normal file
3
content/author/_index.en.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: BgLUG's authors
|
||||
---
|
3
content/author/_index.it.md
Normal file
3
content/author/_index.it.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Gli autori del BgLUG
|
||||
---
|
5
content/author/paspo/_index.md
Normal file
5
content/author/paspo/_index.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: paspo
|
||||
image: paspo.png
|
||||
description: paspo's [website](https://paspo.dev)
|
||||
---
|
BIN
content/author/paspo/paspo.png
Normal file
BIN
content/author/paspo/paspo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 92 KiB |
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "16 settembre 2023 - Giornata del software libero a Nembro (BG)"
|
||||
author: Omar Lazzari
|
||||
author: omarl
|
||||
type: post
|
||||
date: 2023-08-30T15:54:07+00:00
|
||||
slug: free-software-day-2023
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: I Love Free Software day 2024 a Bergamo
|
||||
author: Omar Lazzari
|
||||
author: omarl
|
||||
type: post
|
||||
date: 2024-02-14T16:04:23+00:00
|
||||
slug: giornata-software-libero-2024
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Linux Day 2023
|
||||
author: Omar Lazzari
|
||||
author: omarl
|
||||
type: post
|
||||
date: 2023-09-19T17:56:49+00:00
|
||||
slug: linux-day-2023
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Partecipa come relatore al Linux Day 2023 di Bergamo
|
||||
author: Omar Lazzari
|
||||
author: omarl
|
||||
type: post
|
||||
date: 2023-10-04T16:58:50+00:00
|
||||
slug: linux-day-2023-invito
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Bglug insegna al Paleocapa
|
||||
author: Omar Lazzari
|
||||
author: omarl
|
||||
type: post
|
||||
date: 2012-01-09T19:52:43+00:00
|
||||
slug: paleocapa-pausa-didattica
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Partizionamento for dummies
|
||||
author: Omar Lazzari
|
||||
author: omarl
|
||||
type: post
|
||||
date: 2018-06-27T12:00:00+00:00
|
||||
slug: partizionamento-for-dummies
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Linux Winter Day 2023
|
||||
author: Omar Lazzari
|
||||
author: omarl
|
||||
type: post
|
||||
date: 2023-02-05T15:27:10+00:00
|
||||
slug: linux-winter-day
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 'Proxmox e Nginx Proxy Manager: installazione e configurazione di un server per offrire servizi web in una scuola - parte 1'
|
||||
author: Omar Lazzari
|
||||
author: omarl
|
||||
type: post
|
||||
date: 2023-02-22T22:46:56+00:00
|
||||
description: Installazione e configurazione di Proxmox per la realizzazione di un server con servizi web utili ad una scuola.
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 'Proxmox e Nginx Proxy Manager: installazione e configurazione di un server per offrire servizi web in una scuola - parte 2'
|
||||
author: Omar Lazzari
|
||||
author: omarl
|
||||
type: post
|
||||
date: 2023-02-23T11:00:01+00:00
|
||||
slug: proxmox-npm-2
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 'Proxmox e Nginx Proxy Manager: installazione e configurazione di un server per offrire servizi web in una scuola - parte 3'
|
||||
author: Omar Lazzari
|
||||
author: omarl
|
||||
type: post
|
||||
slug: proxmox-npm-3
|
||||
date: 2023-03-01T11:50:39+00:00
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 16 settembre 2023 - Giornata del software libero a Nembro (BG)
|
||||
author: Omar Lazzari
|
||||
author: omarl
|
||||
type: post
|
||||
date: 2023-08-30T15:54:07+00:00
|
||||
slug: free-software-day
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 16 settembre 2023 - Giornata del software libero a Nembro (BG) - laboratorio Godot
|
||||
author: Omar Lazzari
|
||||
author: omarl
|
||||
type: post
|
||||
date: 2023-09-11T19:44:48+00:00
|
||||
slug: godot-lab
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: SFD Software freedom day 16 settembre
|
||||
author: Omar Lazzari
|
||||
author: omarl
|
||||
type: post
|
||||
date: 2023-09-13T16:04:23+00:00
|
||||
slug: love-fs-day
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Lettera adesione da inviare alle scuole
|
||||
author: Omar Lazzari
|
||||
author: omarl
|
||||
type: post
|
||||
date: 2024-07-03T16:04:23+00:00
|
||||
image: yh4f.jpg
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: AdaZ reading volunteers wanted
|
||||
author: Omar Lazzari
|
||||
author: omarl
|
||||
type: post
|
||||
date: 2024-07-03T16:04:23+00:00
|
||||
slug: volontari-lettura-adaz
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Cercasi volontari lettura AdaZ
|
||||
author: Omar Lazzari
|
||||
author: omarl
|
||||
type: post
|
||||
date: 2024-07-03T16:04:23+00:00
|
||||
slug: volontari-lettura-adaz
|
||||
|
@ -1,3 +1,4 @@
|
||||
---
|
||||
license: License
|
||||
footer_license_note: Except where otherwise noted, content on this site is published under [CC-BY-SA](https://creativecommons.org/licenses/by-sa/4.0/) license.
|
||||
all_posts_by: "All {{ . }}'s posts"
|
||||
|
@ -1,3 +1,4 @@
|
||||
---
|
||||
license: Licenza
|
||||
footer_license_note: Eccetto dove diversamente indicato, ogni contenuto di questo sito è pubblicato con licenza [CC-BY-SA](https://creativecommons.org/licenses/by-sa/4.0/).
|
||||
all_posts_by: "Tutti i post di {{ . }}"
|
||||
|
17
layouts/_default/author.html
Normal file
17
layouts/_default/author.html
Normal file
@ -0,0 +1,17 @@
|
||||
{{ define "main" }}
|
||||
<header>
|
||||
<h2>{{ i18n "all_posts_by" .Title }}</h2>
|
||||
{{ with .Description -}}
|
||||
<p>{{ . | markdownify }}</p>
|
||||
{{- end }}
|
||||
</header>
|
||||
|
||||
{{- if .Params.image }}
|
||||
<span class="image featured"><img src="{{ .Params.image | relURL }}" alt="{{ .Params.image_alt }}" /></span>
|
||||
{{ end }}
|
||||
|
||||
{{ range .RegularPages }}
|
||||
{{ .Render "shortblock" }}
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
@ -39,9 +39,16 @@
|
||||
<a href="{{ .RelPermalink }}" class="image left"><img src="{{ $featimg }}" alt="{{ .Params.image_alt }}" /></a>
|
||||
<div class="inner">
|
||||
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||
{{- with .Params.author -}}
|
||||
di {{ . | markdownify }}<br/>
|
||||
{{- end -}}
|
||||
|
||||
{{- with .GetTerms "author" }}
|
||||
{{- range . -}}
|
||||
<div class="author">
|
||||
di <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||
</div>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
|
||||
{{ if .Site.Params.show_post_dates | default true }}
|
||||
{{- with .Date }}<time>{{ . | time.Format ":date_medium" }}</time>{{ end }}
|
||||
{{ end }}
|
||||
|
@ -2,9 +2,15 @@
|
||||
<header>
|
||||
<h2>{{ .Title }}</h2>
|
||||
<p>{{ .Description }}</p>
|
||||
{{- with .Params.author -}}
|
||||
<div class="author">di {{ . | markdownify }}</div>
|
||||
{{- end -}}
|
||||
|
||||
{{- with .GetTerms "author" }}
|
||||
{{- range . -}}
|
||||
<div class="author">
|
||||
di <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||
</div>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{ if .Site.Params.show_post_dates | default true }}
|
||||
{{- with .Date }}<time>{{ . | time.Format ":date_medium" }}</time>{{ end }}
|
||||
{{ end }}
|
||||
|
17
layouts/_default/taxonomy.html
Normal file
17
layouts/_default/taxonomy.html
Normal file
@ -0,0 +1,17 @@
|
||||
{{ define "main" }}
|
||||
<header>
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ with .Description -}}
|
||||
<p>{{ . | markdownify }}</p>
|
||||
{{- end }}
|
||||
</header>
|
||||
|
||||
{{- if .Params.image }}
|
||||
<span class="image featured"><img src="{{ .Params.image | relURL }}" alt="{{ .Params.image_alt }}" /></span>
|
||||
{{ end }}
|
||||
|
||||
{{ range .Pages }}
|
||||
{{ .Render "taxonomyshortblock" }}
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
@ -4,8 +4,8 @@
|
||||
{{ $rasters := slice "jpeg" "png" }}
|
||||
{{ $newres := "360x250 smart" }}
|
||||
|
||||
{{/* di default, niente immagine */}}
|
||||
{{- $featimg := "#" -}}
|
||||
{{/* immagine di default */}}
|
||||
{{- $featimg := (resources.Get "/images/placeholder_autore.png").RelPermalink -}}
|
||||
|
||||
{{- if .Params.image -}}
|
||||
{{/* se è stata definita un'immagine featured */}}
|
||||
@ -44,9 +44,9 @@
|
||||
{{ end }}
|
||||
<p>
|
||||
{{ with .Description }}
|
||||
{{- . | truncate 400 }}
|
||||
{{- . | markdownify | truncate 400 }}
|
||||
{{- else }}
|
||||
{{- .Summary | truncate 400 }}
|
||||
{{- .Summary | markdownify | truncate 400 }}
|
||||
{{- end }}
|
||||
</p>
|
||||
{{ partial "tags.html" . }}
|
||||
|
Loading…
Reference in New Issue
Block a user