A new Siteleaf is here, upgrade to v2 →

Siteleaf

Menu

Sort and loop through all tags

Siteleaf v1 Docs » Theme Documentation » Tips and tricks » Sort and loop through all tags
{% assign sorted_tags = site.pages['blog'].taxonomy['tags'] | sort:'value' %}
<ul>
    {% for tag in sorted_tags %}
    <li><a href="{{tag.url}}">{{tag.value}}</a></li>
    {% endfor %}
</ul>

Swap blog for your page’s slug, and tags for the name of your tagset (if not using the default tags).