{% extends "base.html" %} {% block body %} {{ this.eyebrow }} {{ this.summary }} {{ this.title }}{{ this.children.count() }} approved tags {% for tag in this.children %} {% set usage = namespace(count=0) %} {% for section_id in ['projects', 'blog', 'articles'] %} {% for item in site.query('/' ~ section_id) %} {% set item_tags = item.taxonomy_tags if item._model == 'project' else item.tags %} {% if tag._id in item_tags %}{% set usage.count = usage.count + 1 %}{% endif %} {% endfor %} {% endfor %} {{ tag.title }} {{ usage.count }} {% if usage.count == 1 %}entry{% else %}entries{% endif %} {{ tag.summary }} {% endfor %} {% endblock %}
{{ this.eyebrow }}