From 22a278d0e5b6e0118a47b357f33da08c5831a200 Mon Sep 17 00:00:00 2001 From: Anxhelo Lushka Date: Sun, 22 Apr 2018 17:15:32 +0200 Subject: [PATCH] Test for new blog structure Major testing (it might break the site, will revert HEAD in repo in such case, unless success) --- blog/index.html | 64 ++++++++++++++++++++++++++++++++----------------- 1 file changed, 42 insertions(+), 22 deletions(-) diff --git a/blog/index.html b/blog/index.html index c6f13ed..1f4983a 100644 --- a/blog/index.html +++ b/blog/index.html @@ -5,17 +5,12 @@ section_id: blog --- -
+
{% for post in paginator.posts %} {% assign mod = forloop.index | modulo: 2 %} {% if mod == 1 %} -
- {% if post.images %} - post - {% endif %} -
-

{{post.title}}

-

+ +

{% if post.categories != empty %} {% for cat in post.categories %} @@ -27,30 +22,41 @@ section_id: blog / {% endif %} - {{ post.date | date: "%B %d, %Y" }} -

+

{{ post.date | date: "%d" }}

+

{{ post.date | date: "%B %Y" }}

+
+ +
+
+
+

{{post.title}}

{{post.excerpt}}

Read more

+
+
+ +
+
+ {% if post.images %} + post + {% endif %}
{% endif %} {% endfor %}
-
+ + +
{% for post in paginator.posts %} {% assign mod = forloop.index | modulo: 2 %} - {% if mod == 0 %} -
- {% if post.images %} - post - {% endif %} -
-

{{post.title}}

-

+ {% if mod == 1 %} + +

{% if post.categories != empty %} {% for cat in post.categories %} - {{cat | capitalize}} + {{cat | capitalize }} {% unless forloop.last %} , {% endunless %} @@ -58,11 +64,25 @@ section_id: blog / {% endif %} - {{ post.date | date: "%B %d, %Y" }} -

+

{{ post.date | date: "%d" }}

+

{{ post.date | date: "%B %Y" }}

+
+ +
+
+
+

{{post.title}}

{{post.excerpt}}

Read more

+
+
+ +
+
+ {% if post.images %} + post + {% endif %}
{% endif %} {% endfor %}