aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyaggr3g470r/templates/home.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index b254d38d..6bcd08fb 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -7,7 +7,7 @@
{% for feed in result|sort(attribute="title") %}
<li>
<a href="#{{ feed.id }}">
- <span class="badge pull-right">{{ unread[feed.id] }}</span>
+ {% if unread[feed.id] != 0 %}<span class="badge pull-right">{{ unread[feed.id] }}</span>{% endif %}
{{ feed.title|safe }}
</a>
</li>
bgstack15