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,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>