diff --git a/_layouts/post.liquid b/_layouts/post.liquid
index ccb659c..89e1e6a 100644
--- a/_layouts/post.liquid
+++ b/_layouts/post.liquid
@@ -34,10 +34,12 @@ layout: default
{% for tag in page.tags %}
{% if url_beginning == '/blog/' %}
{{ tag }}
-
{% else %}
- {{ tag }}
+ {{ tag }}
{% endif %}
+ {% unless forloop.last %}
+
+ {% endunless %}
{% endfor %}
{% endif %}
@@ -48,10 +50,12 @@ layout: default
{{ category -}}
-
{% else %}
- {{ category }}
+ {{ category }}
{% endif %}
+ {% unless forloop.last %}
+
+ {% endunless %}
{% endfor %}
{% endif %}