Dont show 'empty' tag, it will be in the [ALL] list

pull/15/head
Leigh Morresi 4 years ago
parent c5c3e8c6c2
commit 982a0d7781

@ -17,7 +17,9 @@
<div>
<a href="/" class="pure-button button-tag {{'active' if not active_tag }}">All</a>
{% for tag in tags %}
{% if tag != "" %}
<a href="/?tag={{ tag}}" class="pure-button button-tag {{'active' if active_tag == tag }}">{{ tag }}</a>
{% endif %}
{% endfor %}
</div>

Loading…
Cancel
Save