From f4fbc5e470b125f2138a8e1ad2938b7f3a0f6dde Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Sat, 25 Apr 2015 23:43:53 +0200 Subject: [PATCH] Remove Tags: label when there are no tags --- _includes/blog-post.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/_includes/blog-post.html b/_includes/blog-post.html index 3e6d4ea..4d51070 100644 --- a/_includes/blog-post.html +++ b/_includes/blog-post.html @@ -33,14 +33,17 @@ {% endif %} +{% capture tagsize %}{{post.tags | size}}{% endcapture %} +{% if tagsize != '0' %} +{% endif %} {% if page.post_listing %}