{% assign tags = page.tags | sort %} {% for tag in tags %} {{ tag | replace:'-', ' ' }} {% endfor %}