---json
{
    "title": "Tagged posts",
    "layout": "base.njk",
    "pagination": {
        "data": "collections.tags",
        "size": 1,
        "alias": "tag"
    },
    "eleventyComputed": {
        "permalink": "/post/tag/{{ tag }}/",
        "feed": {
            "rss": "{{ page.url }}rss.xml",
            "atom": "{{ page.url }}atom.xml",
            "json": "{{ page.url }}feed.json"
        }
    },
    "eleventyImport": {
        "collections": ["tags", "posts"]
    }
}
---
{% extends "components/blog.njk" %}
{% set posts = collections.tagPosts[tag] %}
{% set title = "Posts tagged with “" ~ tag ~ "”" %}
{% set feeds = feed %}

{{ content | safe }}
