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,6 +33,8 @@
{% 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:
@ -41,6 +43,7 @@
{% endfor %} {% endfor %}
</p> </p>
</footer> </footer>
{% endif %}
{% if page.post_listing %} {% if page.post_listing %}
</li> </li>
</ul> </ul>