{% for tag, posts in author|tags %}

#{{tag|capfirst}}

{% for post in posts %}

{% endfor %}
{% endfor %}