From 4722fd063b88bc48fdff0c7f7ec3a6825870dbd7 Mon Sep 17 00:00:00 2001 From: Holger Reinhardt Date: Sat, 30 Jan 2016 23:08:14 +0100 Subject: [PATCH] Another go at tags and category; adding spacer to comment section --- _layouts/post.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 %}