templates/taxonomy.twig
{#
List taxonomy terms
-------------------------------
Example:
-------------------------------
<h1>Categories</h1>
<ul>
<li><a href="/categories/web-development">Web Development</a>
<li><a href="/categories/unix">Unix</a>
</ul>
#}
{% extends 'layouts/master.twig' %}
{% block title %}{{ taxonomy.name }}{% endblock %}
{% block content %}
<article>
<h1>{{ taxonomy.name }}</h1>
<ul>
{% for term in taxonomy.terms %}
<li><a href="/{{ term.uri }}">{{ term.name }}</a></li>
{% endfor %}
</ul>
</article>
{% endblock content %}