diff options
Diffstat (limited to 'templates/taxonomy_list.html')
-rw-r--r-- | templates/taxonomy_list.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/taxonomy_list.html b/templates/taxonomy_list.html new file mode 100644 index 0000000..0c4a579 --- /dev/null +++ b/templates/taxonomy_list.html @@ -0,0 +1,23 @@ +{% extends "base.html" %} + +{% block html_title %}{{ taxonomy.name | capitalize }} | {{ config.title }}{% endblock html_title %} + +{% block content %} + <h1 class="title"> + {{ taxonomy.name | capitalize }} + </h1> + <h3>{{ terms | length }} term{{ terms | length | pluralize }}</h3> + <table class="terms"> + <tbody> + {% for term in terms %} + <tr> + <td> + <b><span class="prefix">|</span></b> + <a href="{{ term.permalink }}">{{ term.name }}</a> + ({{ term.pages | length }} post{{ term.pages | length | pluralize }}) + </td> + </tr> + {% endfor %} + </tbody> + </table> +{% endblock content %} |