2019-03-28 23:40:33 +00:00
|
|
|
{% case site.tag_archive.type %}
|
|
|
|
{% when "liquid" %}
|
|
|
|
{% assign path_type = "#" %}
|
|
|
|
{% when "jekyll-archives" %}
|
|
|
|
{% assign path_type = nil %}
|
|
|
|
{% endcase %}
|
|
|
|
|
|
|
|
{% if site.tag_archive.path %}
|
2023-02-10 09:44:06 +00:00
|
|
|
{% assign tags_sorted = page.tags | sort_natural %}
|
2019-03-28 23:40:33 +00:00
|
|
|
|
|
|
|
<p class="page__taxonomy">
|
|
|
|
<strong><i class="fas fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
|
|
|
|
<span itemprop="keywords">
|
2023-02-10 09:44:06 +00:00
|
|
|
{% for tag_word in tags_sorted %}
|
|
|
|
<a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | relative_url }}" class="page__taxonomy-item p-category" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
2019-03-28 23:40:33 +00:00
|
|
|
{% endfor %}
|
|
|
|
</span>
|
|
|
|
</p>
|
|
|
|
{% endif %}
|