From ed5856c2336bea8efcdea76c9ddb9de756852d02 Mon Sep 17 00:00:00 2001 From: mo8it Date: Tue, 30 May 2023 16:03:02 +0200 Subject: [PATCH] Replace single.html with page.html --- content/angebot/index.md | 2 +- content/datenschutz/index.md | 1 - content/impressum/index.md | 1 - content/kontakt/index.md | 1 - content/termin/index.md | 2 +- templates/{single.html => page.html} | 4 +--- 6 files changed, 3 insertions(+), 8 deletions(-) rename templates/{single.html => page.html} (59%) diff --git a/content/angebot/index.md b/content/angebot/index.md index 3ecf4dc..c775163 100644 --- a/content/angebot/index.md +++ b/content/angebot/index.md @@ -1,4 +1,4 @@ +++ title = "Unser Angebot" -template = "offers.tera.html" +template = "offers.html" +++ diff --git a/content/datenschutz/index.md b/content/datenschutz/index.md index 330b402..4dce78c 100644 --- a/content/datenschutz/index.md +++ b/content/datenschutz/index.md @@ -1,6 +1,5 @@ +++ title = "Datenschutzerklärung" -template = "single.tera.html" +++

Datenschutzerklärung

diff --git a/content/impressum/index.md b/content/impressum/index.md index fcdfd7b..5535ffb 100644 --- a/content/impressum/index.md +++ b/content/impressum/index.md @@ -1,6 +1,5 @@ +++ title = "Impressum" -template = "single.tera.html" +++ #### Yinghong Yang diff --git a/content/kontakt/index.md b/content/kontakt/index.md index c393a13..a94f3a7 100644 --- a/content/kontakt/index.md +++ b/content/kontakt/index.md @@ -1,6 +1,5 @@ +++ title = "Kontakt" -template = "single.tera.html" +++ {{ contact() }} diff --git a/content/termin/index.md b/content/termin/index.md index 4970499..a51a894 100644 --- a/content/termin/index.md +++ b/content/termin/index.md @@ -1,6 +1,6 @@ +++ title = "Terminvereinbarung" -template = "appointment.tera.html" +template = "appointment.html" +++ Vereinbaren Sie frühzeitig einen Termin, indem Sie eine Nachricht auf WhatsApp/Signal schreiben. Sie können auch eine E-Mail schreiben oder anrufen. diff --git a/templates/single.html b/templates/page.html similarity index 59% rename from templates/single.html rename to templates/page.html index 69c0f36..f205bc7 100644 --- a/templates/single.html +++ b/templates/page.html @@ -1,9 +1,7 @@ {% extends "base.html" %} {% block content %} -

{{ page.title }}

- -
+

{{ page.title }}

{{ page.content | safe }} {% endblock %}