From 91bda273c8c86be6c09ed43f4df0ca327bd0d03a Mon Sep 17 00:00:00 2001 From: paspo Date: Tue, 17 Sep 2024 22:24:54 +0200 Subject: [PATCH] link a pagina autore --- layouts/_default/shortblock.html | 13 ++++++++++--- layouts/_default/single.html | 12 +++++++++--- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/layouts/_default/shortblock.html b/layouts/_default/shortblock.html index c381a4f..8ef2bc1 100644 --- a/layouts/_default/shortblock.html +++ b/layouts/_default/shortblock.html @@ -39,9 +39,16 @@ {{ .Params.image_alt }}

{{ .Title }}

- {{- with .Params.author -}} - di {{ . | markdownify }}
- {{- end -}} + + {{- with .GetTerms "author" }} + {{- range . -}} + + {{- end }} + {{- 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 89a81b3..d5a52cc 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,9 +2,15 @@

{{ .Title }}

{{ .Description }}

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