Skip to content

Commit c5d3e3a

Browse files
Aaron RaddonAaron Raddon
authored andcommitted
dont show tags if empty on list pages
1 parent 54095e8 commit c5d3e3a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

views/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,12 @@ <h2><a href="/entry/{{ entry.slug }}" rel="bookmark" title="{{ entry.title }}">{
5858
{{ entry.content }}
5959
</div>
6060
<div class="meta">
61+
{% if entry.tags %}
6162
tags:
6263
{% for tag in entry.tags %}
6364
<a href="/tag/{{ tag }}" title="View all posts in #" rel="category tag">{{ tag }}</a>{% if not forloop.last %},{% endif %}
6465
{% endfor %}
66+
{% endif %}
6567

6668
</div>
6769
<div class="commentmeta">

0 commit comments

Comments
 (0)