From a64f9489f75adefbc2b8b89b80c1d07b244a7be7 Mon Sep 17 00:00:00 2001 From: paspo Date: Fri, 13 Sep 2024 18:31:41 +0000 Subject: [PATCH] visualizzazione autore (#222) visualizzazione dell'autore sia sulla lista dei post/eventi che nella visualizzazione dell'evento stesso. supporta markdown Reviewed-on: https://git.libreschool.org/BgLUG/bglug.it/pulls/222 Co-authored-by: paspo Co-committed-by: paspo --- layouts/_default/shortblock.html | 3 +++ layouts/_default/single.html | 3 +++ 2 files changed, 6 insertions(+) diff --git a/layouts/_default/shortblock.html b/layouts/_default/shortblock.html index 83ef2d3..c381a4f 100644 --- a/layouts/_default/shortblock.html +++ b/layouts/_default/shortblock.html @@ -39,6 +39,9 @@ {{ .Params.image_alt }}

{{ .Title }}

+ {{- with .Params.author -}} + di {{ . | markdownify }}
+ {{- end -}} {{ if .Site.Params.show_post_dates | default true }} {{- with .Date }}{{ end }} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 486db7c..e94fe5b 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,6 +2,9 @@

{{ .Title }}

{{ .Description }}

+ {{- with .Params.author -}} + di {{ . | markdownify }}
+ {{- end -}} {{ if .Site.Params.show_post_dates | default true }} {{- with .Date }}{{ end }} {{ end }}