{% case site.category_archive.type %} {% when "liquid" %} {% assign path_type = "#" %} {% when "jekyll-archives" %} {% assign path_type = nil %} {% endcase %} {% if site.category_archive.path %} {% assign categories_sorted = page.categories | sort_natural %}
{{ site.data.ui-text[site.locale].categories_label | default: "Categories:" }} {% for category_word in categories_sorted %} {{ category_word }}{% unless forloop.last %}, {% endunless %} {% endfor %}
{% endif %}