-
Lukas Ruge authoredLukas Ruge authored
post-meta-top.html 568 B
<small class="small post-meta">
{% for pcat in page.categories -%}
{% assign c_title = '' -%}
{% for cat in site.categories -%}
{% if cat.tag == pcat -%}
{% assign c_title = cat.plural -%}
{% endif -%}
{% endfor -%}
{% if c_title and c_title != '' -%}
<span class="label label--category"><a href="{{ site.baseurl }}/category/{{ pcat | downcase }}">{{c_title}}</a></span>
{% endif -%}
{% endfor -%}
<time datetime="{{ page.date | date_to_xmlschema }}" class="time">{{ page.date | date_to_string }}</time>
</small>