Remove Tags: label when there are no tags

This commit is contained in:
Gergely Polonkai 2015-04-25 23:43:53 +02:00
parent b979a9d33b
commit f4fbc5e470
1 changed files with 6 additions and 3 deletions

View File

@ -33,6 +33,8 @@
{% endif %}
</main>
{% capture tagsize %}{{post.tags | size}}{% endcapture %}
{% if tagsize != '0' %}
<footer>
<p class="article-tags">
Tags:
@ -41,6 +43,7 @@
{% endfor %}
</p>
</footer>
{% endif %}
{% if page.post_listing %}
</li>
</ul>