{% extends "base.html" %} {% block title %}{{ _('tags.page_title') }}{% endblock %} {% block content %}

{{ _('tags.heading') }}

{{ _('tags.subtitle') }}

{% if tag_cloud %}

🏷️ {{ _('tags.all_tags') }} ({{ tag_cloud|length }}) {% if tag_filter %} ← {{ _('tags.show_all') }} {% endif %}

{% for item in tag_cloud %} #{{ item.tag }} {{ item.count }} {% endfor %}
{% else %}

{{ _('tags.no_tags') }}

{% endif %} {% if tag_filter %}

{{ _('tags.pages_with_tag') }} #{{ tag_filter }} ({{ tagged_pages|length }} {{ _('tags.results') }})

{% if tagged_pages %}
{% for page in tagged_pages %}
📄
{{ page.title }}
slug: {{ page.slug }}
{{ page.type }}
{% endfor %}
{% else %}
{{ _('tags.no_pages_with_tag') }} #{{ tag_filter }}.
{% endif %}
{% endif %} {% if tag_stats %}

📊 {{ _('tags.statistics') }}

{{ tag_stats.total_tags }}
{{ _('tags.unique_tags') }}
{{ tag_stats.tagged_pages }}
{{ _('tags.tagged_pages') }}
{% endif %} {% endblock %}