--- layout: "base.njk" eleventyComputed: title: "{{ page.fileSlug | capitalize }}" --- {%- from "components/collectionList.njk" import collectionList with context -%}
{{ content | safe }}
{% set tag = page.fileSlug %} {% if collections[tag] %} {% if tag === "posts" %}
{%- for tag, data in collections.categories -%} {{ tag }} {{ data.count }} {%- endfor -%}
{% endif %} {{ collectionList(tag) }} {% endif %}