Slugify tags

This commit is contained in:
Michael Rose 2016-04-04 14:42:54 -04:00
parent 0e385bece2
commit d3e08eb2b6

View File

@ -10,7 +10,7 @@ author_profile: false
{% for tag in group_names %}
{% assign posts = group_items[forloop.index0] %}
<h2 id="{{ tag | downcase }}" class="archive__subtitle">{{ tag }}</h2>
<h2 id="{{ tag | slugify }}" class="archive__subtitle">{{ tag }}</h2>
{% for post in posts %}
{% include archive-single.html %}
{% endfor %}