diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 51290d2..ec7ab8a 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -25,3 +25,6 @@ params: geekdocDateFormat: "Jan 2, 2006" geekdocSearch: true + + geekdocLegalNotice: https://geeklabor.de/legal-notice/#impressum + geekdocPrivacyPolicy: https://geeklabor.de/legal-notice/#datenschutzerkl%C3%A4rung diff --git a/exampleSite/content/usage/configuration.md b/exampleSite/content/usage/configuration.md index 8c3231f..4fac50f 100644 --- a/exampleSite/content/usage/configuration.md +++ b/exampleSite/content/usage/configuration.md @@ -41,6 +41,14 @@ # (Optional, default true) Enables search function with flexsearch. # Index is built on the fly and might slowdown your website. geekdocSearch = false + + # (Optional, default none) Add a link to your Legal Notice page to the site footer. + # It can be either a remote url or a local file path relative to your content directory. + geekdocLegalNotice = 'https://blog.example.com/legal' + + # (Optional, default none) Add a link to your Privacy Policy page to the site footer. + # It can be either a remote url or a local file path relative to your content directory. + geekdocPrivacyPolicy = '/privacy' ``` {{< /tab >}} @@ -85,6 +93,14 @@ params: # (Optional, default true) Enables search function with flexsearch. # Index is built on the fly and might slowdown your website. geekdocSearch: false + + # (Optional, default none) Add a link to your Legal Notice page to the site footer. + # It can be either a remote url or a local file path relative to your content directory. + geekdocLegalNotice: https://blog.example.com/legal + + # (Optional, default none) Add a link to your Privacy Policy page to the site footer. + # It can be either a remote url or a local file path relative to your content directory. + geekdocPrivacyPolicy: /privacy ``` {{< /tab >}} diff --git a/layouts/partials/page-footer.html b/layouts/partials/page-footer.html index 0cece83..383d49e 100644 --- a/layouts/partials/page-footer.html +++ b/layouts/partials/page-footer.html @@ -43,7 +43,7 @@ {{ end }} -