From 4ceb340595ff945c768d420c9b345ae1486ff94b Mon Sep 17 00:00:00 2001 From: amanita Date: Fri, 27 Oct 2023 18:03:25 +0200 Subject: [PATCH] change inheritance to simplify things; also remove the sexy nerd sentence. --- templates/index.html | 5 ++++- templates/page.html | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index 24aa1c1..6985213 100755 --- a/templates/index.html +++ b/templates/index.html @@ -22,6 +22,9 @@ }); }); + {% block title %} + {{ config.title }} + {% endblock title %}
@@ -62,7 +65,7 @@

mail [at] reudnetz [dot] org

- + {% endblock seitenleiste %}
diff --git a/templates/page.html b/templates/page.html index db7beab..7135463 100755 --- a/templates/page.html +++ b/templates/page.html @@ -1,5 +1,9 @@ {% extends "index.html" %} +{% block title %} + {{ page.title }} - {{ config.title }} +{% endblock title %} + {% block content %} {{ page.content | safe }} {% endblock content %}