paulwalko.github.io/_includes/post-tags.html

11 lines
252 B
HTML

{% if post %}
{% assign tags = post.tags %}
{% else %}
{% assign tags = page.tags %}
{% endif %}
{% for tag in tags %}
<a id="route" href="/tags/#{{tag|slugize}}"> {{tag}}</a>{% unless forloop.last %} {% endunless %}
{% endfor %}