diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/jekyll-theme/posts/feed.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/_includes/jekyll-theme/posts/feed.html b/_includes/jekyll-theme/posts/feed.html index 4fe4a29..cc2f52b 100644 --- a/_includes/jekyll-theme/posts/feed.html +++ b/_includes/jekyll-theme/posts/feed.html @@ -7,9 +7,13 @@ <h3>{{ post.title }}</h3> <div class="post-date"> <p class="text-muted"> - {% if post.category %} + {%- comment -%} + Collapse the Liquid whitespace here, so that no extra spaces + between <span>s are introduced. + {%- endcomment -%} + {%- if post.category -%} <span class="glyphicon glyphicon-folder-open"></span> <span class="category">{{ post.category }}</span> - {% endif %} + {%- endif -%} <span class="glyphicon glyphicon-time"></span> {{ post.date | date: '%-d %b %Y' }} </p> </div> |