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>
|
||||
<ul>
|
||||
{% for tag_cnt in tags %}
|
||||
<li class="tag">
|
||||
<a href="/{{tag_cnt.0}}">
|
||||
<span class="label">#{{tag_cnt.0}}</span> <span class="count">({{tag_cnt.1}})</span>
|
||||
</a>
|
||||
</li>
|
||||
{% if tag_cnt.1 > 1 %}
|
||||
<li class="tag">
|
||||
<a href="/{{tag_cnt.0}}">
|
||||
<span class="label">#{{tag_cnt.0}}</span> <span class="count">({{tag_cnt.1}})</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
|
|
Loading…
Reference in a new issue