diff options
Diffstat (limited to '_layouts/post.html')
-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> |