diff options
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/post.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 4777b00..815e1e3 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -22,7 +22,11 @@ layout: default • <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.size != 0 -%} - <span>, Kategorie: {{ page.categories | array_to_sentence_string }}</span> + • <span>Kategorie: {% for cat in page.categories %} + {%- assign catlink = "/category/" | append: cat | append: "/" -%} + <a href="{{ catlink | relative_url }}">{{ cat }}</a> {%- if forloop.last != true -%}, {%- endif -%} + {%- endfor %} + </span> {%- endif -%} </p> </header> |