Split imprint and privacy into seperate pages

This commit is contained in:
Jens M. Sauer 2024-07-23 19:48:34 +02:00
parent ab63308ba2
commit 8c40ee2df9
5 changed files with 11 additions and 12 deletions

View File

@ -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"

View File

@ -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

View File

@ -1,8 +1,6 @@
---
title: Kontakt und Impressum
weight: 1
title: Impressum
---
## Impressum
Philipp Reichenbach
Bar Filipo
Hundmühler Straße 183E

View File

@ -1,4 +0,0 @@
---
title: Impressum und Datenschutz
layout: imprint
---

View File

@ -11,6 +11,9 @@
{{ with .Site.Params.imprint }}
<a href="{{ .Site.BaseURL }}/{{ .url }}">{{ .label }}</a>
{{ end }}
{{ with .Site.Params.privacy }}
<a href="{{ .Site.BaseURL }}/{{ .url }}">{{ .label }}</a>
{{ end }}
<p>{{ .Site.Title }} &copy; {{ .Site.Copyright }} <span class="footerspacer icon fa-diamond"></span>
Adopted from <a target="_blank" href="https://github.com/caressofsteel/hugo-story/">Hugo-Story</a> by caressofsteel<span class="footerspacer icon fa-diamond"></span>
Images courtesy of <a target="_blank" href="https://unsplash.com">Unsplash</a></p>