Remove Tags: label when there are no tags
This commit is contained in:
parent
b979a9d33b
commit
f4fbc5e470
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user