From 4af8530948d394b04def654e774411149007b357 Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 2 Oct 2019 17:24:23 +0530 Subject: [PATCH] New design changes --- templates/blog.html | 19 ++++++++--- templates/layout.html | 67 ++++++++++++++++++++++++++++++++++---- templates/macros/blog.html | 46 ++++++++++++++------------ 3 files changed, 101 insertions(+), 31 deletions(-) diff --git a/templates/blog.html b/templates/blog.html index cb79934..21f2aeb 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -3,9 +3,18 @@ {% from "macros/pagination.html" import render_pagination %} {% block title %}{{ this.title }}{% endblock %} {% block body %} - {% for child in this.pagination.items %} - {{ render_blog_post(child, from_index=true) }} - {% endfor %} - - {{ render_pagination(this.pagination) }} +
+
+
+
+
+ {% for child in this.pagination.items %} + {{ render_blog_post(child, from_index=true) }} + {% endfor %} + {{ render_pagination(this.pagination) }} +
+
+
+
+
{% endblock %} diff --git a/templates/layout.html b/templates/layout.html index 01abb36..5ed4aee 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -1,7 +1,21 @@ - + + + {% block title %}Welcome to {% endblock %} | ungleich.ch + + + + + + + + + + + + - - - - - {% block title %}Welcome to {% endblock %} | ungleich.ch + + + +
+
+
+
+
+

ungleich blog

+
+ +
+
+
+
+
+ + + + + +

{{ self.title() }}