Merge branch 'split-imprint-privacy' into staging

This commit is contained in:
Jens M. Sauer 2024-07-23 19:49:58 +02:00
commit 325342cfac
6 changed files with 21 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
@ -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
Quelle: https://www.e-recht24.de/Muster-Datenschutzerklärung.html

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

@ -0,0 +1,10 @@
{{ define "main" }}
{{ partial "logo_with_button" . }}
<section class="wrapper style1 align-left">
<div class="inner">
<h2>{{ .Title }}</h2>
{{ .Content }}
</div>
</section>
{{ partial "footer" . }}
{{ end }}

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>