diff options
author | sefidel <contact@sefidel.net> | 2023-03-26 16:55:25 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-03-26 16:55:25 +0900 |
commit | 77ffc8dfeabd45cb3fac500902fcbcb7176edcc7 (patch) | |
tree | 4c3a538e0792d60ca637a3921341820087311233 /templates/taxonomy_list.html | |
download | sefidel-web-77ffc8dfeabd45cb3fac500902fcbcb7176edcc7.tar.gz sefidel-web-77ffc8dfeabd45cb3fac500902fcbcb7176edcc7.zip |
project: Initial commit
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 %} |