--- pagination: data: collections.postsByTag size: 1 alias: tag filter: - post permalink: /tags/{{ tag | slugify }}/index.html eleventyComputed: description: Browse all posts tagged with "{{ tag }}". --- {% from "macros/posts.njk" import yearList %}

Tag: {{ tag }}

All posts tagged with "{{ tag }}", or go back to all tags.

{% set itemsByYear = collections.postsByTag[tag] | reverse | organizeByDate %} {% set years = itemsByYear | keys | sort("desc") %}
{% for year in years %} {% set itemsInYear = itemsByYear[year] %} {{ yearList(itemsInYear, year) }} {% endfor %}