From 025109fb8c7fddf7164325acc18da4d9672197b2 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Sat, 21 Mar 2020 11:54:00 +0100 Subject: [PATCH] =?UTF-8?q?P=C5=99id=C3=A1n=C3=AD=20bloku=20pro=20obsah?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/index.html | 4 +++- templates/page.html | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index e22cb69..e8668b4 100644 --- a/templates/index.html +++ b/templates/index.html @@ -34,7 +34,9 @@ {% endif %} -
content
+
+ {% block content%}{% endblock %} +
diff --git a/templates/page.html b/templates/page.html index 09763b9..6fc3f6e 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1 +1,5 @@ {% extends "index.html" %} + +{% block content %} + {{ page.content | safe }} +{% endblock %}