{% 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 ['blog', 'articles'] %} {% for item in site.query('/' ~ section_id) %} {% 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 }}