Remove Tags: label when there are no tags
This commit is contained in:
parent
b979a9d33b
commit
f4fbc5e470
@ -33,14 +33,17 @@
|
||||
{% endif %}
|
||||
</main>
|
||||
|
||||
{% capture tagsize %}{{post.tags | size}}{% endcapture %}
|
||||
{% if tagsize != '0' %}
|
||||
<footer>
|
||||
<p class="article-tags">
|
||||
Tags:
|
||||
{% for tag in post.tags %}
|
||||
{% include tag-link.html %}
|
||||
{% endfor %}
|
||||
{% for tag in post.tags %}
|
||||
{% include tag-link.html %}
|
||||
{% endfor %}
|
||||
</p>
|
||||
</footer>
|
||||
{% endif %}
|
||||
{% if page.post_listing %}
|
||||
</li>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user