From f10e8101ac7cf094c3b4c346f29f04cdbb457b41 Mon Sep 17 00:00:00 2001 From: Anxhelo Lushka Date: Sun, 22 Apr 2018 12:33:04 +0200 Subject: [PATCH] New testing page for blog structure --- test.html | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 test.html diff --git a/test.html b/test.html new file mode 100644 index 0000000..27e0a12 --- /dev/null +++ b/test.html @@ -0,0 +1,85 @@ +--- +layout: newblog +title: Blog +section_id: blog +--- + + +
+ {% for post in paginator.posts %} + {% assign mod = forloop.index | modulo: 2 %} + {% if mod == 1 %} +
+ {% if post.images %} + {% if post.images.size > 1 %} + + post + post + + {% else %} + post + {% endif %} + {% endif %} +
+

{{post.title}}

+

+ {% if post.categories != empty %} + + {% for cat in post.categories %} + {{cat | capitalize }} + {% unless forloop.last %} + , + {% endunless %} + {% endfor %} + + / + {% endif %} + {{ post.date | date: "%B %d, %Y" }} +

+

{{post.excerpt}}

+
+

Read more

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

{{post.title}}

+

+ {% if post.categories != empty %} + + {% for cat in post.categories %} + {{cat | capitalize}} + {% unless forloop.last %} + , + {% endunless %} + {% endfor %} + + / + {% endif %} + {{ post.date | date: "%B %d, %Y" }} +

+

{{post.excerpt}}

+
+

Read more

+
+
+ {% endif %} + {% endfor %} +