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