kopia lustrzana https://github.com/dgtlmoon/changedetection.io
Dont show 'empty' tag, it will be in the [ALL] list
rodzic
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 %}
|
||||
<a href="/?tag={{ tag}}" class="pure-button button-tag {{'active' if active_tag == tag }}">{{ tag }}</a>
|
||||
{% if tag != "" %}
|
||||
<a href="/?tag={{ tag}}" class="pure-button button-tag {{'active' if active_tag == tag }}">{{ tag }}</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue