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

View File

@ -33,14 +33,17 @@
{% endif %} {% endif %}
</main> </main>
{% capture tagsize %}{{post.tags | size}}{% endcapture %}
{% if tagsize != '0' %}
<footer> <footer>
<p class="article-tags"> <p class="article-tags">
Tags: Tags:
{% for tag in post.tags %} {% for tag in post.tags %}
{% include tag-link.html %} {% include tag-link.html %}
{% endfor %} {% endfor %}
</p> </p>
</footer> </footer>
{% endif %}
{% if page.post_listing %} {% if page.post_listing %}
</li> </li>
</ul> </ul>