--- title: Tag Index excerpt: "An archive of posts sorted by tag." permalink: /tagindex/ search: exclude related_pages: none --- {% capture site_tags %}{% for tag in site.tags %}{{ tag | first }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %} {% assign tags_list = site_tags | split:',' | sort %} {% for item in (0..site.tags.size) %}{% unless forloop.last %} {% capture this_word %}{{ tags_list[item] | strip_newlines }}{% endcapture %}

{{ this_word }}

{% endunless %}{% endfor %}
{% capture tags %} {% for tag in site.tags %} {{ tag[0] }} {% endfor %} {% endcapture %} {% assign sortedtags = tags | split:' ' | sort %} {% for tag in sortedtags %}

{{ tag }}

{% endfor %}