From 5a7dc6858fa213a5f7d418bec391e0fcd252b25b Mon Sep 17 00:00:00 2001 From: Anxhelo Lushka Date: Sun, 22 Apr 2018 18:13:53 +0200 Subject: [PATCH] New test for blog --- blog/index.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/blog/index.html b/blog/index.html index ed0cee2..5653480 100644 --- a/blog/index.html +++ b/blog/index.html @@ -4,9 +4,10 @@ title: Blog section_id: blog --- -
-
+ {% for post in paginator.posts %} +
+
{% assign mod = forloop.index | modulo: 2 %} {% if mod == 1 %}
@@ -42,9 +43,10 @@ section_id: blog
-
-
+ {% for post in paginator.posts %} +
+
{% assign mod = forloop.index | modulo: 2 %} {% if mod == 0 %}