From 8b88d6480481cbbc7a615c43942c394cfdb2322f Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 28 Jun 2016 13:02:16 +0200 Subject: [PATCH] Fix post rendering --- _includes/blog-post.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/_includes/blog-post.html b/_includes/blog-post.html index 62a7b4b..fa073de 100644 --- a/_includes/blog-post.html +++ b/_includes/blog-post.html @@ -1,18 +1,18 @@ -
-{% if page.post_listing %} +
+{% if layout.post_listing %}
  • {% endif %}

    -{% if page.post_listing %} +{% if layout.post_listing %} {% endif %} {{post.title}} -{% if page.post_listing %} +{% if layout.post_listing %} {% endif %} -{% if page.render_post %} +{% if layout.render_post %}
    {% endif %}

    @@ -26,7 +26,7 @@
    -{% if page.render_post %} +{% if layout.render_post %} {{content}} {% else %} {{post.excerpt}} @@ -34,7 +34,7 @@
    {% include tag-link.html %} -{% if page.post_listing %} +{% if layout.post_listing %}
{% endif %}