matrix.org/templates/taxonomy_list.html
Kim Brose 91838ca1b3
Blog categories update and related misc fixes (#2724)
* alt text for the atom feed link is atom, not rss

* show all categories/authors on blog category/author lists

* add icon and clearer text to taxonomy feeds

* only link to ~~more~~ all posts when there are more

* update matrix conf blog entry tags

ref #2661

* unify Neil (Johnson) blog author

* add proper taxonomy plurals

* sort blog post categories when displaying

* fix old blog posts

* update Matrix Conf blog post categories

ref #2661

* categorize and update holiday specials

* categorize and update FOSDEM blog posts

* update some blog post categories

* switch blog date format to YYYY-MM-DD

* add dates to category/author list view

* don't show time on blog posts

Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com>

---------

Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com>
2025-05-23 12:28:04 +02:00

39 lines
1.5 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"><img width="10px" height="10px" src="/assets/rss.svg" alt="Atom"> Category Atom Feed</a></small>
</h4>
{% endif %}
<ul>
{% for page in term.pages | slice(end=4) %}
<li>
{{ page.date | date(format="%Y-%m-%d") }}:
<a href="{{ page.permalink | safe }}">{{ page.title }}</a>
</li>
{% endfor %}
{% if term.pages | length > 4 %}
<li>
<a href="{{ term.permalink | safe }}">... all "{{ term.name }}" posts</a>
</li>
{% endif %}
</ul>
</div>
{% endfor %}
</div>
</article>
</div>
{% endblock content %}