diff --git a/_includes/postslist.njk b/_includes/postslist.njk
index 8c7ec22..4a49021 100644
--- a/_includes/postslist.njk
+++ b/_includes/postslist.njk
@@ -3,7 +3,12 @@
{{ post.data.title }}
{{ post.date | readableDate }}
- {% for tag in post.data.tags %}{% if tag != "post" and metadata.tagPages.indexOf(tag) > -1 %}{{ tag }}{% endif %}{% endfor %}
+ {% for tag in post.data.tags %}
+ {%- if tag != "post" and metadata.tagPages.indexOf(tag) > -1 -%}
+ {% set tagUrl %}/tags/{{ tag }}/{% endset %}
+ {{ tag }}
+ {%- endif -%}
+ {% endfor %}
{% endfor %}