visualizzazione licenza post/evento

This commit is contained in:
Paolo Asperti 2024-09-13 20:31:53 +02:00
parent c90b55e9db
commit 4484d3fd07
Signed by: paspo
GPG Key ID: 06D46905D19D5182
3 changed files with 7 additions and 0 deletions

View File

@ -1 +1,3 @@
---
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.

View File

@ -1 +1,3 @@
---
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/).

View File

@ -8,6 +8,9 @@
{{ if .Site.Params.show_post_dates | default true }}
{{- with .Date }}<time>{{ . | time.Format ":date_medium" }}</time>{{ end }}
{{ end }}
{{- with .Params.license -}}
<br />{{ T "license" }}: {{ . | markdownify }}
{{ end }}
{{ partial "tags.html" . }}
</header>