summaryrefslogtreecommitdiff
path: root/_layouts/post.html
diff options
context:
space:
mode:
authoruvok cheetah2020-01-05 17:10:27 +0100
committeruvok cheetah2020-01-05 17:10:27 +0100
commit882c047fde648a9fef3d208b02efab83ec2681cd (patch)
tree8065672dc126fdacd509f84ae66b6542e9de260e /_layouts/post.html
parent1e34d4bbebc26077f5d1d090ae2c5cf88e22a332 (diff)
Fix category check
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html2
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>