Compare tags as lowercase

This commit is contained in:
Gordon Breuer 2016-03-05 01:32:30 +01:00
parent eac8e6817c
commit d6b575af05

View file

@ -20,9 +20,12 @@
<div>
{% for post in site.posts %}
{% if post.tags contains tag %}
{% include post-list.html%}
{% endif %}
{% for t in post.tags %}
{% capture tg %}{{ t | downcase }}{% endcapture %}
{% if tg == tag %}
{% include post-list.html%}
{% endif %}
{% endfor %}
{% endfor %}
</div>