hide tags used only once
This commit is contained in:
parent
7ee85e5c62
commit
0a6fcba373
1 changed files with 7 additions and 5 deletions
|
@ -78,11 +78,13 @@
|
||||||
<h2>Tags</h2>
|
<h2>Tags</h2>
|
||||||
<ul>
|
<ul>
|
||||||
{% for tag_cnt in tags %}
|
{% for tag_cnt in tags %}
|
||||||
<li class="tag">
|
{% if tag_cnt.1 > 1 %}
|
||||||
<a href="/{{tag_cnt.0}}">
|
<li class="tag">
|
||||||
<span class="label">#{{tag_cnt.0}}</span> <span class="count">({{tag_cnt.1}})</span>
|
<a href="/{{tag_cnt.0}}">
|
||||||
</a>
|
<span class="label">#{{tag_cnt.0}}</span> <span class="count">({{tag_cnt.1}})</span>
|
||||||
</li>
|
</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in a new issue