From 8c40ee2df922897c3aa7c4902aaf6446e26b783b Mon Sep 17 00:00:00 2001 From: "Jens M. Sauer" Date: Tue, 23 Jul 2024 19:48:34 +0200 Subject: [PATCH] Split imprint and privacy into seperate pages --- config/_default/hugo.toml | 8 ++++++-- content/{kontakt/privacy.md => datenschutz.md} | 4 +--- content/{kontakt/imprint.md => impressum.md} | 4 +--- content/kontakt/index.md | 4 ---- layouts/partials/footer.html | 3 +++ 5 files changed, 11 insertions(+), 12 deletions(-) rename content/{kontakt/privacy.md => datenschutz.md} (99%) rename content/{kontakt/imprint.md => impressum.md} (92%) delete mode 100644 content/kontakt/index.md diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 09266bc..ba293ff 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -38,5 +38,9 @@ disableKinds = ["taxonomy", "section"] fontawesome_js = ["js/fontawesome-all.min.js"] [Params.imprint] - url = "kontakt" - label = "Impressum und Datenschutz" + url = "impressum" + label = "Impressum" + +[Params.privacy] + url = "datenschutz" + label = "Datenschutz" diff --git a/content/kontakt/privacy.md b/content/datenschutz.md similarity index 99% rename from content/kontakt/privacy.md rename to content/datenschutz.md index b69ebd9..43847a9 100644 --- a/content/kontakt/privacy.md +++ b/content/datenschutz.md @@ -1,8 +1,6 @@ --- title: Datenschutzerklärung -weight: 10 --- -# Datenschutzerklärung ## Datenschutz auf einen Blick ### Allgemeine Hinweise Die folgenden Hinweise geben einen einfachen Überblick darüber, was mit Ihren personenbezogenen Daten @@ -276,4 +274,4 @@ auffordern, Ihre Einwilligung zur Speicherung widerrufen oder der Zweck für die (z. B. nach abgeschlossener Bearbeitung Ihres Anliegens). Zwingende gesetzliche Bestimmungen – insbesondere gesetzliche Aufbewahrungsfristen – bleiben unberührt. -Quelle: https://www.e-recht24.de/Muster-Datenschutzerklärung.html \ No newline at end of file +Quelle: https://www.e-recht24.de/Muster-Datenschutzerklärung.html diff --git a/content/kontakt/imprint.md b/content/impressum.md similarity index 92% rename from content/kontakt/imprint.md rename to content/impressum.md index a848521..f3f19fa 100644 --- a/content/kontakt/imprint.md +++ b/content/impressum.md @@ -1,8 +1,6 @@ --- -title: Kontakt und Impressum -weight: 1 +title: Impressum --- -## Impressum Philipp Reichenbach Bar Filipo Hundmühler Straße 183E diff --git a/content/kontakt/index.md b/content/kontakt/index.md deleted file mode 100644 index 70c4337..0000000 --- a/content/kontakt/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: Impressum und Datenschutz -layout: imprint ---- diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 61ff2d2..649463e 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -11,6 +11,9 @@ {{ with .Site.Params.imprint }} {{ .label }} {{ end }} + {{ with .Site.Params.privacy }} + {{ .label }} + {{ end }}

{{ .Site.Title }} © {{ .Site.Copyright }} Adopted from Hugo-Story by caressofsteel Images courtesy of Unsplash