summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruvok cheetah2019-06-02 17:04:46 +0200
committeruvok cheetah2019-06-02 17:04:46 +0200
commit37957ce65c8e92ed2853f575d790bc6da99ff1fb (patch)
tree2d36ce6e0ee1e473353252ea534085f573b77471
parentefd0e186d2355b80fc2b569b6448626ef4cc9d1b (diff)
Add display of categories
-rw-r--r--_layouts/post.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index d5772d9..8d39939 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -12,7 +12,11 @@ layout: default
</time>
{%- 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 -%}</p>
+ {%- endif -%}
+ {%- if page.categories -%}
+ <span>, Kategorie: {{ page.categories | array_to_sentence_string }}</span>
+ {%- endif -%}
+ </p>
</header>
{% if page.blogger_id %}