From a68a0135600b9c0b5a39c8a5366a105511253c5a Mon Sep 17 00:00:00 2001 From: mo8it Date: Thu, 1 Jun 2023 15:01:08 +0200 Subject: [PATCH] Explain the privacy policy of the contact form --- content/datenschutz/index.md | 6 +++++- templates/macros.html | 4 ++++ templates/shortcodes/contact.html | 6 +++--- templates/shortcodes/email.html | 3 +++ 4 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 templates/shortcodes/email.html diff --git a/content/datenschutz/index.md b/content/datenschutz/index.md index 31934a7..da855cb 100644 --- a/content/datenschutz/index.md +++ b/content/datenschutz/index.md @@ -2,8 +2,12 @@ title = "Datenschutzerklärung" +++ -Die Website yinghong-massage.de sammelt keine persönlichen Daten. +Die Website `yinghong-massage.de` sammelt keine persönlichen Daten. IP-Addressen werden nicht geloggt. Die Website hinterlässt auch keine Cookies. + +## Kontaktformular + +Nach dem Abschicken des Kontaktformulars unter [/termin](@/termin/index.md) wird der Inhalt des Formulars (Name, E-Mail-Addresse, Telefon-Nummer (optional) und Nachricht) direkt als E-Mail an die persönliche E-Mail-Addresse von Yinghong Yang {{ email() }} weitergeleitet und sonst nicht abgespeichert. diff --git a/templates/macros.html b/templates/macros.html index d7897ec..d58e2be 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -2,3 +2,7 @@ {{ text }} {% endmacro %} + +{% macro email_link(email) %} + {{ email }} +{% endmacro %} diff --git a/templates/shortcodes/contact.html b/templates/shortcodes/contact.html index 64346f5..a9bdb2e 100644 --- a/templates/shortcodes/contact.html +++ b/templates/shortcodes/contact.html @@ -1,3 +1,5 @@ +{% import "macros.html" as macros %} +
@@ -15,9 +17,7 @@ - + diff --git a/templates/shortcodes/email.html b/templates/shortcodes/email.html new file mode 100644 index 0000000..9e6f263 --- /dev/null +++ b/templates/shortcodes/email.html @@ -0,0 +1,3 @@ +{% import "macros.html" as macros %} + +{{ macros::email_link(email=config.extra.email) }}
E-Mail: - {{ config.extra.email }} - {{ macros::email_link(email=config.extra.email) }}
Adresse: