2016-10-30 01:02:14 +02:00
|
|
|
{% case site.category_archive.type %}
|
|
|
|
{% when "liquid" %}
|
|
|
|
{% assign path_type = "#" %}
|
|
|
|
{% when "jekyll-archives" %}
|
|
|
|
{% assign path_type = nil %}
|
|
|
|
{% endcase %}
|
|
|
|
|
|
|
|
{% if site.category_archive.path %}
|
2023-09-29 04:03:51 +02:00
|
|
|
{% assign categories_sorted = page.categories | sort_natural %}
|
2016-10-30 01:02:14 +02:00
|
|
|
|
|
|
|
<p class="page__taxonomy">
|
2023-09-29 04:03:51 +02:00
|
|
|
<strong><i class="fas fa-fw fa-folder-open" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].categories_label | default: "Categories:" }} </strong>
|
2016-10-30 01:02:14 +02:00
|
|
|
<span itemprop="keywords">
|
2023-09-29 04:03:51 +02:00
|
|
|
{% for category_word in categories_sorted %}
|
|
|
|
<a href="{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path | relative_url }}" class="page__taxonomy-item" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
2016-10-30 01:02:14 +02:00
|
|
|
{% endfor %}
|
|
|
|
</span>
|
|
|
|
</p>
|
2023-09-29 04:03:51 +02:00
|
|
|
{% endif %}
|