{% for tag in site.tags %}
{{ tag[0] }}
{% for post in tag[1] %}
{% if include.object.category %}
{% if post.category == include.object.category %}
-
{% assign author = site.authors | where: "username", post.author | first %}
{% assign author-url = author.url %}
{% assign author_name = author.name %}
{% capture author_image_alt %}{{author_name}} image{% endcapture %}
{% if author.image %}
{% assign author_image = author.image %}
{% else %}
{% assign author_image = site.avatar_placeholder %}
{% endif %}
{% endif %}
{% else %}
- {{ post.title }}
{% endif %}
{% endfor %}
{% endfor %}