about summary refs log tree commit diff
path: root/templates/taxonomy_single.html
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-03-26 16:55:25 +0900
committersefidel <contact@sefidel.net>2023-03-26 16:55:25 +0900
commit77ffc8dfeabd45cb3fac500902fcbcb7176edcc7 (patch)
tree4c3a538e0792d60ca637a3921341820087311233 /templates/taxonomy_single.html
downloadsefidel-web-77ffc8dfeabd45cb3fac500902fcbcb7176edcc7.tar.gz
sefidel-web-77ffc8dfeabd45cb3fac500902fcbcb7176edcc7.zip
project: Initial commit
Diffstat (limited to 'templates/taxonomy_single.html')
-rw-r--r--templates/taxonomy_single.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/taxonomy_single.html b/templates/taxonomy_single.html
new file mode 100644
index 0000000..e13f439
--- /dev/null
+++ b/templates/taxonomy_single.html
@@ -0,0 +1,11 @@
+{% extends "base.html" %}
+
+{% block html_title %}{{ term.name | capitalize}} | {{ config.title }}{% endblock html_title %}
+
+{% block content %}
+  <h1 class="title">
+    {{ taxonomy.name | capitalize }} -> {{ term.name | capitalize }}
+  </h1>
+  <h3>{{ term.pages | length }} post{{ term.pages | length | pluralize }}</h3>
+  {{ posts::display(pages=term.pages) }}
+{% endblock content %}