diff --git a/_includes/layouts/post.njk b/_includes/layouts/post.njk index 9543d2d..d28407d 100644 --- a/_includes/layouts/post.njk +++ b/_includes/layouts/post.njk @@ -8,14 +8,15 @@ layout: layouts/base.njk
{{ content | safe }} +{%- for tag in tags | filterTagList %} +{%- set tagUrl %}/tags/{{ tag | slugify }}/{% endset %} +{{ tag }}{%- if not loop.last %}, {% endif %} +{%- endfor %} + {%- if collections.posts %} {%- set previousPost = collections.posts | getPreviousCollectionItem %} {%- set nextPost = collections.posts | getNextCollectionItem %}