diff options
author | uvok cheetah | 2020-01-05 17:10:27 +0100 |
---|---|---|
committer | uvok cheetah | 2020-01-05 17:10:27 +0100 |
commit | 882c047fde648a9fef3d208b02efab83ec2681cd (patch) | |
tree | 8065672dc126fdacd509f84ae66b6542e9de260e /_layouts | |
parent | 1e34d4bbebc26077f5d1d090ae2c5cf88e22a332 (diff) |
Fix category check
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/post.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index b3dac1e..1cd1a12 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -14,7 +14,7 @@ layout: default {%- if page.author -%} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span> {%- endif -%} - {%- if page.categories.any? -%} + {%- if page.categories.size != 0 -%} <span>, Kategorie: {{ page.categories | array_to_sentence_string }}</span> {%- endif -%} </p> |