about summary refs log tree commit diff
path: root/templates/taxonomy_list.html
blob: 0c4a57952e39e21234150e94687c120e51b15a1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 %}