mirror of
https://github.com/ParkerTenBroeck/ParkerTenBroeck.github.io.git
synced 2026-06-06 21:14:06 -04:00
18 lines
No EOL
560 B
HTML
18 lines
No EOL
560 B
HTML
{% 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 %} |