{% case site.tag_archive.type %} {% when "liquid" %} {% assign path_type = "#" %} {% when "jekyll-archives" %} {% assign path_type = nil %} {% endcase %} {% if site.tag_archive.path %} {% comment %} {% endcomment %} {% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %} {% assign tag_hashes = page_tags | split: ',' | sort %}
{{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} {% for hash in tag_hashes %} {% assign keyValue = hash | split: '#' %} {% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %} {{ tag_word | replace: 'L--', ' ' }}{% unless forloop.last %}, {% endunless %} {% endfor %}
{% endif %}