prima stesura

This commit is contained in:
Paolo Asperti 2024-09-16 21:17:31 +02:00
parent cf8ac5cb95
commit bbb3df1893
Signed by: paspo
GPG Key ID: 06D46905D19D5182
8 changed files with 46 additions and 3 deletions

View File

@ -10,7 +10,7 @@ copyright: 2024 © Bergamo Linux Users Group
paginate: 20 paginate: 20
timeout: 1800s timeout: 1800s
enableRobotsTXT: true enableRobotsTXT: true
params: params:
description: Bergamo Linux Users Group description: Bergamo Linux Users Group
social: social:
- title: Mattermost - title: Mattermost
@ -52,6 +52,7 @@ params:
taxonomies: taxonomies:
tag: tags tag: tags
author: author
languages: languages:
it: it:

View File

@ -0,0 +1,3 @@
---
title: BgLUG's authors
---

View File

@ -0,0 +1,3 @@
---
title: Gli autori del BgLUG
---

View File

@ -1,3 +1,4 @@
--- ---
license: License 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. 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"

View File

@ -1,3 +1,4 @@
--- ---
license: Licenza 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/). 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 {{ . }}"

View 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 }}

View 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 }}

View File

@ -44,9 +44,9 @@
{{ end }} {{ end }}
<p> <p>
{{ with .Description }} {{ with .Description }}
{{- . | truncate 400 }} {{- . | markdownify | truncate 400 }}
{{- else }} {{- else }}
{{- .Summary | truncate 400 }} {{- .Summary | markdownify | truncate 400 }}
{{- end }} {{- end }}
</p> </p>
{{ partial "tags.html" . }} {{ partial "tags.html" . }}