diff --git a/blog/templates/blog/blog_index_page.html b/blog/templates/blog/blog_index_page.html index 8930456..f527d41 100644 --- a/blog/templates/blog/blog_index_page.html +++ b/blog/templates/blog/blog_index_page.html @@ -5,22 +5,27 @@ {% block body_class %}template-blogindexpage{% endblock %} {% block content %} -

{{ page.title }}

+
+

{{ page.title }}

-
{{ page.intro|richtext }}
+
{{ page.intro|richtext }}
+
-{% for post in blogpages %} - {% with post=post.specific %} -

{{ post.title }}

+
+ {% for post in blogpages %} + {% with post=post.specific %} +
+

{{ post.title }}

- - {% with post.main_image as main_image %} - {% if main_image %}{% image main_image fill-160x100 %}{% endif %} - {% endwith %} + {% with post.main_image as main_image %} + {% if main_image %}{% image main_image width-400 class="blog" %}{% endif %} + {% endwith %} -

{{ post.intro }}

- {{ post.body }} - {% endwith %} -{% endfor %} + +

{{ post.intro }}

+
+ {% endwith %} + {% endfor %} +
{% endblock %} \ No newline at end of file diff --git a/blog/templates/blog/blog_page.html b/blog/templates/blog/blog_page.html index e5d4fbd..f4c5e8c 100644 --- a/blog/templates/blog/blog_page.html +++ b/blog/templates/blog/blog_page.html @@ -5,50 +5,67 @@ {% block body_class %}template-blogpage{% endblock %} {% block content %} -

{{ page.title }}

-

{{ page.date }}

+
+
+

{{ page.title }}

+

{{ page.date }}

- {% with authors=page.authors.all %} - {% if authors %} -

Posted by:

- - {% endif %} - {% endwith %} + {% with authors=page.authors.all %} + {% if authors %} +

Posted by:

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

{{ item.caption }}

-
- {% endfor %} -
- -

Return to blog

- - {% with tags=page.tags.all %} - {% if tags %} -
-

Tags

-
    - {% for tag in tags %} -
  • {{ tag }}
  • +
    + {% for item in page.gallery_images.all %} +
    + {% image item.image fill-320x240 %} +

    {{ item.caption }}

    +
    {% endfor %} -
+
- {% endif %} - {% endwith %} + {% with tags=page.tags.all %} + {% if tags %} +
+

Tags

+
    + {% for tag in tags %} +
  • {{ tag }}
  • + {% endfor %} +
+
+ {% endif %} + {% endwith %} + +
+ + + +
{% endblock %} \ No newline at end of file diff --git a/home/templates/home/home_page.html b/home/templates/home/home_page.html index efe4851..76f318a 100644 --- a/home/templates/home/home_page.html +++ b/home/templates/home/home_page.html @@ -4,16 +4,20 @@ {% block body_class %}{% endblock %} {% block content %} -
-

{{ page.title }}

- {% image page.image fill-480x320 %} -

{{ page.hero_text }}

- {% if page.hero_cta_link %} - - {% firstof page.hero_cta page.hero_cta_link.title %} - - {% endif %} +
+
+

{{ page.title }}

+ {% image page.image fill-480x320 %} +

{{ page.hero_text }}

+ {% if page.hero_cta_link %} + + {% firstof page.hero_cta page.hero_cta_link.title %} + + {% endif %} +
- {{ page.body|richtext }} +
+ {{ page.body|richtext }} +
{% endblock content %} \ No newline at end of file diff --git a/iamkonstantin_web/templates/base.html b/iamkonstantin_web/templates/base.html index f47bad8..9a0ef2c 100644 --- a/iamkonstantin_web/templates/base.html +++ b/iamkonstantin_web/templates/base.html @@ -41,15 +41,15 @@
-
+
-
+
{% include "includes/header.html" %} -
+
{% block content %}{% endblock %}
diff --git a/iamkonstantin_web/templates/includes/footer.html b/iamkonstantin_web/templates/includes/footer.html index 635fd0e..841d8f3 100644 --- a/iamkonstantin_web/templates/includes/footer.html +++ b/iamkonstantin_web/templates/includes/footer.html @@ -1,24 +1,25 @@ {% load navigation_tags %} -