diff --git a/config.yml b/config.yml index 78154474..85e2afd5 100644 --- a/config.yml +++ b/config.yml @@ -53,6 +53,7 @@ params: taxonomies: tag: tags author: author + location: locations languages: it: diff --git a/content/locations/_index.en.md b/content/locations/_index.en.md new file mode 100644 index 00000000..f64b1822 --- /dev/null +++ b/content/locations/_index.en.md @@ -0,0 +1,3 @@ +--- +title: All locations +--- diff --git a/content/locations/_index.it.md b/content/locations/_index.it.md new file mode 100644 index 00000000..b21ee44f --- /dev/null +++ b/content/locations/_index.it.md @@ -0,0 +1,3 @@ +--- +title: Tutte le location +--- diff --git a/i18n/en.yaml b/i18n/en.yaml index ec2e9e89..bb1b4255 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -2,3 +2,5 @@ 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. all_posts_by: "All {{ . }}'s posts" +location: Location +all_events_in: All events in diff --git a/i18n/it.yaml b/i18n/it.yaml index bff28de7..016b7734 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -2,3 +2,5 @@ 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/). all_posts_by: "Tutti i post di {{ . }}" +location: Dove +all_events_in: Tutti gli eventi in diff --git a/layouts/_default/single.html b/layouts/_default/single.html index d5a52ccc..6311a32e 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -14,6 +14,9 @@ {{ if .Site.Params.show_post_dates | default true }} {{- with .Date }}{{ end }} {{ end }} + {{- with .Params.location_link -}} +
{{ . }}
+ {{- end }} +