From e649bff447f2e4214b98fe2773cd694d835112a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Plach=C3=BD?= Date: Wed, 25 Nov 2020 11:40:59 +0100 Subject: [PATCH] uprava stranky --- stranky/templates/stranky/stranky_page.html | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 stranky/templates/stranky/stranky_page.html diff --git a/stranky/templates/stranky/stranky_page.html b/stranky/templates/stranky/stranky_page.html new file mode 100644 index 0000000..369e062 --- /dev/null +++ b/stranky/templates/stranky/stranky_page.html @@ -0,0 +1,23 @@ +{% extends "base.html" %} + +{% load wagtailcore_tags wagtailimages_tags %} + +{% block body_class %}template-blogpage{% endblock %} + +{% block content %} +

{{ page.title }}

+ +
{{ page.intro }}
+ + {{ page.body|richtext }} + + {% for item in page.gallery_images.all %} +
+ {% image item.image fill-320x240 %} +

{{ item.caption }}

+
+ {% endfor %} + +

Return to blog

+ +{% endblock %} \ No newline at end of file