diff --git a/_layouts/post.html b/_layouts/post.html index d986336..f859308 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -6,9 +6,9 @@ layout: default
- {% if post.category %} + {% if page.category %} {% for site_category in site.data.categories %} - {% if site_category.slug == post.category %} + {% if site_category.slug == page.category %} {% assign category = site_category %} {% endif %} {% endfor %} @@ -20,9 +20,9 @@ layout: default {% endif %} - {% if post.tags.size > 0 %} + {% if page.tags.size > 0 %} {% capture tags_content %} with tags {% endcapture %} - {% for post_tag in post.tags %} + {% for post_tag in page.tags %} {% for data_tag in site.data.tags %} {% if data_tag.slug == post_tag %} {% assign tag = data_tag %} @@ -75,6 +75,8 @@ layout: default {% endif %} +
+ {% include disqus.html %}