From 789f8bb5fe9a67b2af9cce35e969af5a5ee18884 Mon Sep 17 00:00:00 2001 From: paspo Date: Fri, 13 Sep 2024 20:31:53 +0200 Subject: [PATCH] visualizzazione licenza post/evento --- i18n/en.yaml | 2 ++ i18n/it.yaml | 2 ++ layouts/_default/single.html | 3 +++ 3 files changed, 7 insertions(+) create mode 100644 i18n/en.yaml create mode 100644 i18n/it.yaml diff --git a/i18n/en.yaml b/i18n/en.yaml new file mode 100644 index 0000000..0e1f499 --- /dev/null +++ b/i18n/en.yaml @@ -0,0 +1,2 @@ +--- +license: License diff --git a/i18n/it.yaml b/i18n/it.yaml new file mode 100644 index 0000000..b7194f9 --- /dev/null +++ b/i18n/it.yaml @@ -0,0 +1,2 @@ +--- +license: Licenza diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 486db7c..d3191da 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -5,6 +5,9 @@ {{ if .Site.Params.show_post_dates | default true }} {{- with .Date }}{{ end }} {{ end }} + {{- with .Params.license -}} +
{{ T "license" }}: {{ . | markdownify }} + {{ end }} {{ partial "tags.html" . }}