From 8680c4b9af9ac8d1e0fc7aae5fcf4c42fcb4c7d4 Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Thu, 14 Jan 2021 22:27:58 -0700 Subject: [PATCH] add support for impressum page (#172) * add support for impressum page * Update _config.yml Co-authored-by: Maruan Co-authored-by: Maruan --- _config.yml | 1 + _includes/footer.html | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/_config.yml b/_config.yml index 62927b5..06dfa24 100644 --- a/_config.yml +++ b/_config.yml @@ -17,6 +17,7 @@ footer_text: > url: # the base hostname & protocol for your site baseurl: /al-folio # the subpath of your site, e.g. /blog/ last_updated: false # set to true if you want to display last updated in the footer +impressum_path: # set to path to include impressum link in the footer, use the same path as permalink in a page, helps to conform with EU GDPR # ----------------------------------------------------------------------------- # Layout diff --git a/_includes/footer.html b/_includes/footer.html index 4898985..2e34521 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -3,6 +3,9 @@
© Copyright {{ site.time | date: '%Y' }} {{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}. {{ site.footer_text }} + {% if site.impressum_path %} + Impressum. + {% endif %} {% if site.last_updated %} Last updated: {{ "now" | date: '%B %d, %Y' }}. {% endif %} @@ -13,6 +16,9 @@
© Copyright {{ site.time | date: '%Y' }} {{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}. {{ site.footer_text }} + {% if site.impressum_path %} + Impressum. + {% endif %} {% if site.last_updated %} Last updated: {{ "now" | date: '%B %d, %Y' }}. {% endif %}