From 0671828062af4840aec3491f902eb9ad61f2b244 Mon Sep 17 00:00:00 2001 From: eclipse Date: Tue, 4 Mar 2025 23:07:47 +0100 Subject: [PATCH] contact page is now rendered by regular page template --- content/images/{newsletter => }/error-unsplash.jpg | Bin content/pages/kontakt.md | 3 ++- .../{contact.html => includes/contact_form.html} | 5 +---- 3 files changed, 3 insertions(+), 5 deletions(-) rename content/images/{newsletter => }/error-unsplash.jpg (100%) rename theme/templates/{contact.html => includes/contact_form.html} (90%) diff --git a/content/images/newsletter/error-unsplash.jpg b/content/images/error-unsplash.jpg similarity index 100% rename from content/images/newsletter/error-unsplash.jpg rename to content/images/error-unsplash.jpg diff --git a/content/pages/kontakt.md b/content/pages/kontakt.md index 78786eb..1807ca3 100644 --- a/content/pages/kontakt.md +++ b/content/pages/kontakt.md @@ -4,9 +4,10 @@ date: 2025-02-04 10:20 author: Tobias Radloff summary: Schreib mir eine Nachricht. lang: de -template: contact +template: page slug: kontakt save_as: kontakt/index.html url: kontakt/ +footer_include: includes/contact_form.html --- diff --git a/theme/templates/contact.html b/theme/templates/includes/contact_form.html similarity index 90% rename from theme/templates/contact.html rename to theme/templates/includes/contact_form.html index bc64feb..3d77a32 100644 --- a/theme/templates/contact.html +++ b/theme/templates/includes/contact_form.html @@ -1,5 +1,3 @@ -{% extends "page.html" %} -{% block content_body %}
-
-{% endblock content_body %} \ No newline at end of file + \ No newline at end of file