{% extends "index.html" %}

{% block content %}
<main>
	<h2>Tagy</h2>
	<hr>
	{% if terms %}
		<ul>
			{% for term in terms %}
				<li><a href="{{ term.permalink }}">{{ term.name | capitalize() }}</a> ({{ term.pages | length }})</li>
			{% endfor %}
		</ul>
	{% endif %}
</main>
{% endblock content %}
