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 %}