zola-inky-fork/templates/taxonomy_single.html

29 lines
941 B
HTML
Raw Normal View History

2023-02-01 17:58:59 +00:00
{% extends "base.html" %}
{% block content %}
<h1>{{taxonomy.name | capitalize }} &raquo; {{ term.name | capitalize }}</h1>
{% for year, posts in term.pages | group_by(attribute="year") %}
<ul class="posts flat">
<h2 class="archive-year">{{ year }}</h2>
{% for post in posts %}
<li class="post">
<div class="post-header">
<div class="meta">
<div class="date">
<span class="day">{{ post.day }}</span>
<span class="rest">{{ post.date | date(format='%b') }}</span>
</div>
</div>
<div class="matter">
2023-02-12 19:09:36 +00:00
<div class="title small">
2023-02-01 17:58:59 +00:00
<a href="{{ post.permalink | safe }}">{{ post.title }}</a>
{% if post.draft %}<span class="draft">(Draft)</span>{% endif %}
2023-02-12 19:09:36 +00:00
</div>
{{ hooks::posts_below_title(page=post) }}
2023-02-01 17:58:59 +00:00
</div>
</div>
</li>
{% endfor %}
</ul>
{% endfor %}{% endblock content %}