--- 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 %}
All posts tagged with "{{ tag }}", or go back to all tags.
{% set itemsByYear = collections.postsByTag[tag] | reverse | organizeByDate %} {% set years = itemsByYear | keys | sort("desc") %}