authors #237

Merged
paspo merged 6 commits from paspo/bglug.it:authors into main 2024-09-18 13:25:25 +00:00
8 changed files with 46 additions and 3 deletions
Showing only changes of commit bbb3df1893 - Show all commits

View File

@ -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:

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
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
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 }}
<p>
{{ with .Description }}
{{- . | truncate 400 }}
{{- . | markdownify | truncate 400 }}
{{- else }}
{{- .Summary | truncate 400 }}
{{- .Summary | markdownify | truncate 400 }}
{{- end }}
</p>
{{ partial "tags.html" . }}