From 2d4b0894f728f94d20e65fe40646486424308e6b Mon Sep 17 00:00:00 2001 From: Tomas Harazim Date: Wed, 21 Oct 2020 10:57:01 +0200 Subject: [PATCH] zapisnikon --- .../templates/zapisnik/blog_index_page.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 zapisnik/templates/zapisnik/blog_index_page.html diff --git a/zapisnik/templates/zapisnik/blog_index_page.html b/zapisnik/templates/zapisnik/blog_index_page.html new file mode 100644 index 0000000..bb6b843 --- /dev/null +++ b/zapisnik/templates/zapisnik/blog_index_page.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% load wagtailcore_tags %} + +{% block body_class %}template-blogindexpage{% endblock %} + +{% block content %} +

{{ page.title }}

+ +
{{ page.intro|richtext }}
+ + {% for post in page.get_children %} +

{{ post.title }}

+ {{ post.specific.intro }} + {{ post.specific.body|richtext }} + {% endfor %} + +{% endblock %} \ No newline at end of file