matrix.org/templates/taxonomy_list.html

37 lines
1.3 KiB
HTML

{% extends "skel.html" %}
{% block html_title %}Matrix.org - {{ taxonomy.name | capitalize }}{% endblock html_title %}
{% block content %}
<div id="taxonomy-list">
<article class="content">
<header>
<h1>{{ taxonomy.name | capitalize }}</h1>
</header>
<div class="grid">
{% for term in terms %}
<div class="grid-container-third">
<h3>
<a href="{{ term.permalink | safe }}">{{ term.name }}</a>
({{ term.pages | length }})
</h3>
{% if taxonomy.feed %}
<h4>
<small><a href="{{ term.permalink | safe }}atom.xml">Atom Feed</a></small>
</h4>
{% endif %}
<ul>
{% for page in term.pages | slice(end=4) %}
<li>
<a href="{{ page.permalink | safe }}">{{ page.title }}</a>
</li>
{% endfor %}
<li>
<a href="{{ term.permalink | safe }}">...more "{{ term.name }}" posts</a>
</li>
</ul>
</div>
{% endfor %}
</div>
</article>
</div>
{% endblock content %}