v6/site/layout/tag.html

32 lines
721 B
HTML

{% extends "default" %}
{% block titlevariable %}
{% set title = tag_name ~ " posts" %}
{% endblock %}
{% block content -%}
<h1>Posts tagged &lsquo;{{ tag_name }}&rsquo;</h1>
{% for year in years %}
<div class="archive-list">
{% for entry in posts_by_year[year] %}
<code>
<time datetime="{{ entry.date | iso_datetime }}">
{{ entry.date | iso_date }}
</time>
</code>
<div>
<a href="{{ entry.permalink }}">
{{ entry.title }}
</a>
</div>
{% endfor %}
</div>
{% if not loop.last %}
<hr>
{% endif %}
{% endfor %}
{%- endblock %}