From 973668e8ef6441067f1d40b84f3582e7d1f204a9 Mon Sep 17 00:00:00 2001 From: petr Date: Wed, 25 Nov 2020 21:48:38 +0100 Subject: [PATCH] stranky_page konecna prace --- stranky/templates/stranky/stranky_page.html | 49 ++++++++++++++++++--- 1 file changed, 44 insertions(+), 5 deletions(-) diff --git a/stranky/templates/stranky/stranky_page.html b/stranky/templates/stranky/stranky_page.html index 369e062..efbed53 100644 --- a/stranky/templates/stranky/stranky_page.html +++ b/stranky/templates/stranky/stranky_page.html @@ -1,3 +1,38 @@ + + + +
+ {% extends "base.html" %} {% load wagtailcore_tags wagtailimages_tags %} @@ -5,19 +40,23 @@ {% block body_class %}template-blogpage{% endblock %} {% block content %} +

Return to blog

{{ page.title }}

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

{{ item.caption }}

{% endfor %} -

Return to blog

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