{% assign tags = site.tags | sort %} {% for tag in tags %} {{ tag[0] | replace:'-', ' ' }} {{ tag | last | size }}   {% endfor %}