aboutsummaryrefslogtreecommitdiff
path: root/templates/categories
diff options
context:
space:
mode:
authorJieiku2023-05-01 15:08:23 -0700
committerJieiku2023-05-22 22:49:42 -0700
commit6c5915c04659a992635742074b2ad92d3e97a9df (patch)
treed31cb3507154c55be0ce7156664849341e3a2909 /templates/categories
parent1010c41b8ac22e7e69177e0d02e034896fb9eadb (diff)
downloadabridge-6c5915c04659a992635742074b2ad92d3e97a9df.tar.gz
abridge-6c5915c04659a992635742074b2ad92d3e97a9df.tar.bz2
abridge-6c5915c04659a992635742074b2ad92d3e97a9df.zip
Replace import with use
Diffstat (limited to 'templates/categories')
-rw-r--r--templates/categories/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/categories/list.html b/templates/categories/list.html
index a237591..eca6da3 100644
--- a/templates/categories/list.html
+++ b/templates/categories/list.html
@@ -19,7 +19,7 @@
<div>
<div class="c">
<h1>{{ terms | length }} {%- if lang != config.default_language %} {{ trans(key="Categories" | safe, lang=lang) }} {% else %} Categories {% endif %}</h1>
- <p>{% for term in terms %} [<a href="#{{ term.name }}">{{ term.name }}</a>] {% endfor %}</p>
+ <p>{% for term in terms %} [<a href="#{{ term.name }}">{{ term.name }}</a>]<sup>{{ term.pages | length }}</sup> {% endfor %}</p>
</div>
{%- for term in terms %}
<h2 id="{{ term.name }}"><a href="{{ term.permalink | safe }}">{{ term.name }}</a></h2>