From be3b8039b1d508784962d74983a17cb1548dd99a Mon Sep 17 00:00:00 2001 From: Anxhelo Lushka Date: Sun, 22 Apr 2018 18:06:23 +0200 Subject: [PATCH] 2nd part of posts fix --- blog/index.html | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/blog/index.html b/blog/index.html index d4cc49c..a00954f 100644 --- a/blog/index.html +++ b/blog/index.html @@ -47,17 +47,11 @@ section_id: blog {% for post in paginator.posts %} {% assign mod = forloop.index | modulo: 2 %} {% if mod == 0 %} -
- {% if post.images %} - post - {% endif %} -
-

{{post.title}}

-

+

{% if post.categories != empty %} {% for cat in post.categories %} - {{cat | capitalize}} + {{cat | capitalize }} {% unless forloop.last %} , {% endunless %} @@ -65,11 +59,21 @@ 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 %}