duckquill/templates/taxonomy_single.html
daudix-UFO d39b7f5630
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful
feat: Bootstrap icons, new H1 style, symlink README to site index
2023-10-28 04:20:09 +03:00

36 lines
932 B
HTML

{% extends "base.html" %}
{% block content %}
<h1>Posts with tag “{{ term.name }}”</h1>
<small>
<a class="link-page" href="{{ config.base_url }}/tags">See all tags</a>
<br />
{{ term.pages | length }} posts in total
</small>
<article>
{% for page in term.pages %}
<h2>
<a class="link-page" href="{{ page.permalink | safe }}">
{{ page.title }}
</a>
</h2>
<small>
<time datetime='{{ page.date | date(format='%+') }}' pubdate>
{{- page.date | date(format=config.extra.date_format) -}}
</time>
{%- if page.taxonomies %}
{%- for name, taxon in page.taxonomies %}
{%- for item in taxon %}
<a href="{{ get_taxonomy_url(kind=name, name=item) }}">
<i class="bi bi-tag-fill"></i>
{{ item }}
</a>&nbsp;
{%- endfor %}
{%- endfor %}
{%- endif %}
</small>
{% endfor %}
</article>
{% endblock content %}