aboutsummaryrefslogtreecommitdiff
path: root/templates/categories/single.html
diff options
context:
space:
mode:
authorJieiku2022-03-27 19:19:28 -0700
committerJieiku2022-03-27 19:19:28 -0700
commit2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9 (patch)
tree33dda7250a49739153f501dbdec7c26792d87964 /templates/categories/single.html
downloadabridge-2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9.tar.gz
abridge-2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9.tar.bz2
abridge-2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9.zip
init
Diffstat (limited to 'templates/categories/single.html')
-rw-r--r--templates/categories/single.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/categories/single.html b/templates/categories/single.html
new file mode 100644
index 0000000..d5fe5b7
--- /dev/null
+++ b/templates/categories/single.html
@@ -0,0 +1,8 @@
+{% extends "base.html" %}
+
+{% block content %}
+ <div>
+ <h2>{{ term.name }}</h2>
+ {% for year, posts in term.pages | group_by(attribute="year") %}<h3>{{ year }}</h3>
+ {% for page in posts %}<p><a href="{{ page.permalink | safe }}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format=config.extra.timeformat | default(value="%B %e, %Y")) }}</time></p>
+ {% endfor %}{% endfor %}</div>{% endblock content %}