diff --git a/_includes/js-selector.html b/_includes/js-selector.html index 20531b4..219fe96 100644 --- a/_includes/js-selector.html +++ b/_includes/js-selector.html @@ -4,7 +4,7 @@ -{% if page.layout == 'home' or page.layout == 'post' %} +{% if page.layout == 'post' %} {% if site.google_analytics.pv.proxy_endpoint or site.google_analytics.pv.cache_path %} diff --git a/_layouts/home.html b/_layouts/home.html index 6cf5e3c..1233e10 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -68,13 +68,17 @@ layout: page {% include read-time.html content=post.content %} - - {% if site.google_analytics.pv.proxy_endpoint or site.google_analytics.pv.cache_path %} - - - - + + {% if post.categories.size > 0 %} + + + {% for category in post.categories %} + {{ category }} + {%- unless forloop.last -%},{%- endunless -%} + {% endfor %} + {% endif %} + {% if post.pin %}