visualizzazione licenza post/evento

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

2
i18n/en.yaml Normal file
View File

@ -0,0 +1,2 @@
---
license: License

2
i18n/it.yaml Normal file
View File

@ -0,0 +1,2 @@
---
license: Licenza

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>