From a947b64964c90e140f4dcaa5d6b23cb9580b303c Mon Sep 17 00:00:00 2001 From: "tomas.patolan" Date: Wed, 21 Oct 2020 10:50:27 +0200 Subject: [PATCH] =?UTF-8?q?zm=C4=9Bna?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/zapisnik/blog_index_page.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/zapisnik/templates/zapisnik/blog_index_page.html b/zapisnik/templates/zapisnik/blog_index_page.html index e69de29..bb6b843 100644 --- a/zapisnik/templates/zapisnik/blog_index_page.html +++ 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