diff --git a/_includes/category-list.html b/_includes/category-list.html index 7cffdb76..d684a282 100644 --- a/_includes/category-list.html +++ b/_includes/category-list.html @@ -10,14 +10,14 @@ {% endcomment %} - {% capture page_categories %}{% for category in page.categories %}{{ category | downcase }}#{{ category }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %} + {% capture page_categories %}{% for category in page.categories %}{{ category | downcase }}|{{ category }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %} {% assign category_hashes = page_categories | split: ',' | sort %}

{{ site.data.ui-text[site.locale].categories_label | default: "Categories:" }} {% for hash in category_hashes %} - {% assign keyValue = hash | split: '#' %} + {% assign keyValue = hash | split: '|' %} {% capture category_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %} {% unless forloop.last %}, {% endunless %} {% endfor %} diff --git a/_includes/tag-list.html b/_includes/tag-list.html index 73f86e28..e0d02bfa 100644 --- a/_includes/tag-list.html +++ b/_includes/tag-list.html @@ -10,14 +10,14 @@ {% endcomment %} - {% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %} + {% 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: '#' %} + {% assign keyValue = hash | split: '|' %} {% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %} {% unless forloop.last %}, {% endunless %} {% endfor %}