This commit is contained in:
Parker TenBroeck 2026-01-16 22:02:02 -05:00
commit 6449151d7a
38 changed files with 779 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{% extends "base.html" %}
{% import "macros/taxonomy.html" as macros %}
{% block main %}
<h1>{{ taxonomy.name | title }}</h1>
{%- set num_terms = terms | length %}
<ul class="taxonomy-list{%- if num_terms > 16 %} three-column{%- elif num_terms > 8 %} two-column{%- endif -%}">
{%- for term in terms %}
{%- set page_count = [term.page_count ~ " post", term.page_count | pluralize] | join %}
<li><a href="{{ term.permalink | safe }}">{{ macros::prettify(term=term.name) }}</a> ({{ page_count }})</li>
{%- endfor %}
</ul>
{% endblock main %}