From 882c047fde648a9fef3d208b02efab83ec2681cd Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Sun, 5 Jan 2020 17:10:27 +0100 Subject: Fix category check --- _layouts/post.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_layouts/post.html') 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 -%} • {%- endif -%} - {%- if page.categories.any? -%} + {%- if page.categories.size != 0 -%} , Kategorie: {{ page.categories | array_to_sentence_string }} {%- endif -%}

-- cgit v1.2.3