{% include base_path %} {% comment %} {% endcomment %} {% if page.tags[0] %} {% if site.tags_archive_filename %} {% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %} {% assign tag_hashes = (page_tags | split: ',' | sort:0) %}
{{ site.data.ui-text[site.locale].tags_label }} {% for hash in tag_hashes %} {% assign keyValue = hash | split: '#' %} {% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %} {{ tag_word }}{% unless forloop.last %}, {% endunless %} {% endfor %}
{% endif %} {% endif %} {% if page.categories[0] %} {% if site.categories_archive_filename %} {% capture page_categories %}{% for category in page.categories %}{{ category | downcase }}#{{ category }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %} {% assign category_hashes = (page_categories | split: ',' | sort:0) %}{{ site.data.ui-text[site.locale].categories_label }} {% for hash in category_hashes %} {% assign keyValue = hash | split: '#' %} {% capture category_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %} {{ category_word }}{% unless forloop.last %}, {% endunless %} {% endfor %}
{% endif %} {% endif %}