2016-05-30 03:12:24 +02:00
|
|
|
{% case site.category_archive.type %}
|
2016-03-11 15:39:20 +01:00
|
|
|
{% when "liquid" %}
|
|
|
|
{% assign path_type = "#" %}
|
|
|
|
{% when "jekyll-archives" %}
|
|
|
|
{% assign path_type = nil %}
|
|
|
|
{% endcase %}
|
|
|
|
|
2016-05-30 03:12:24 +02:00
|
|
|
{% if site.category_archive.path %}
|
2021-02-06 02:29:06 +01:00
|
|
|
{% assign categories_sorted = page.categories | sort_natural %}
|
2016-03-11 15:39:20 +01:00
|
|
|
|
2016-03-20 02:50:18 +01:00
|
|
|
<p class="page__taxonomy">
|
2018-01-04 20:27:27 +01: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-03-20 02:50:18 +01:00
|
|
|
<span itemprop="keywords">
|
2021-02-06 02:29:06 +01:00
|
|
|
{% for category_word in categories_sorted %}
|
2021-07-23 20:16:08 +02:00
|
|
|
<a href="{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path | relative_url }}" class="page__taxonomy-item p-category" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
2016-03-20 02:50:18 +01:00
|
|
|
{% endfor %}
|
|
|
|
</span>
|
2016-03-11 15:39:20 +01:00
|
|
|
</p>
|
|
|
|
{% endif %}
|