diff --git a/_includes/panel.html b/_includes/panel.html index d3b8737..27c7e49 100644 --- a/_includes/panel.html +++ b/_includes/panel.html @@ -61,8 +61,8 @@ {% for trend in trends %} {% assign count = count | plus: 1 %} - {% assign tag = trend | split: ":" | last %} - {{ tag | replace: '-', ' ' }} + {% assign tag = trend | split: ":" | last %} + {{ tag | replace: '-', ' ' }} {% if count >= MAX %} {% break %} {% endif %} diff --git a/_layouts/post.html b/_layouts/post.html index a379b5f..341fd04 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -20,7 +20,7 @@ layout: default {% if page.categories.size > 0 %}on{% endif %} {% for category in page.categories %} - {{ category }} + {{ category }} {%- unless forloop.last -%}, {%- endunless -%} {% endfor %} @@ -62,7 +62,7 @@ layout: default {% if page.tags.size > 0 %}
{% for tag in page.tags %} - {{- tag -}} diff --git a/tabs/categories.md b/tabs/categories.md index e76b9ca..3c1d82d 100644 --- a/tabs/categories.md +++ b/tabs/categories.md @@ -33,7 +33,7 @@ title: Categories {% else %} {% endif %} - {{ category_name }} + {{ category_name }} {% assign top_posts_size = site.categories[category_name] | size %} @@ -63,7 +63,7 @@ title: Categories