Commit 4dea621a authored by Augustin Lemesle's avatar Augustin Lemesle
Browse files

fix side-bar blog tags for category pages

parent 7a1847a3
......@@ -20,13 +20,13 @@
<a href="/category/{{ category | downcase }}/index.html" class="btn btnCancel active"><span>{{ category }}</span></a>
{% endfor %}
{% if site.categories contains page.title %}
<a href="/category/{{ page.title | downcase }}/index.html" class="btn btnCancel active"><span>{{ page.title }}</span></a>
{% endif %}
{% for category in site.categories %}
{% unless include.cats contains category[0] %}
{% if page.title == category[0] %}
<a href="/category/{{ category[0] | downcase }}/index.html" class="btn btnCancel active"><span>{{ category[0] }}</span></a>
{% else %}
{% unless include.cats contains category[0] or page.title == category[0] %}
<a href="/category/{{ category[0] | downcase }}/index.html" class="btn btnCancel"><span>{{ category[0] }}</span></a>
{% endif %}
{% endunless %}
{% endfor %}
</nav>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment