diff --git a/templates/blog.html b/templates/blog.html index 21f2aeb..56175b4 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -3,6 +3,19 @@ {% from "macros/pagination.html" import render_pagination %} {% block title %}{{ this.title }}{% endblock %} {% block body %} +
+
+
+
+
+

ungleich blog

+
+ +
+
+
+
+
diff --git a/templates/layout.html b/templates/layout.html index 5ed4aee..aef3cf4 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -57,44 +57,46 @@
-
-
-
-
-
-

ungleich blog

-
- -
-
-
-
-
- - - - - - -
-

{{ self.title() }}

- -
{% block body %}{% endblock %}
- +
+ + diff --git a/templates/macros/blog.html b/templates/macros/blog.html index d84c0f1..2a71e01 100644 --- a/templates/macros/blog.html +++ b/templates/macros/blog.html @@ -1,30 +1,29 @@ {% macro render_blog_post(post, from_index=false) %} - -
-
-
- {% if from_index %}

{% else %}

{% endif %} -
-
- {% if from_index %}

{{ post.title }}

+ {% if from_index %} +
+
+
+ {% if from_index %}

{% else %}

{% endif %} +
+
+ {% if from_index %}

{{ post.title }}

+ {% else %} +

{{ post.title }}

+ {% endif %} + +

+

+ {{ post.abstract }} +

+

+
+
+
+
{% else %} -

{{ post.title }}

+ {{ post.body }} {% endif %} - - -

-

- {% if from_index %} - {{ post.abstract }} - {% else %} - {{ post.body }} - {% endif %} -

-

-
-
-
-
+ {% endmacro %} diff --git a/templates/page.html b/templates/page.html index 0430577..e1519fb 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,6 +1,45 @@ {% extends "layout.html" %} {% block title %}{{ this.title }}{% endblock %} +
+

{{ self.title() }}

+ +
{% block body %} -

{{ this.title }}

- {{ this.body }} +
+
+
+
+
+

{{ this.title }}

+
+ +
+
+
+
+
+
+
+
+
+
+
+ {{ this.body }} +
+
+
+
+
+
{% endblock %}