1
0
Fork 0
website/templates/tag.html

20 lines
651 B
HTML
Raw Normal View History

2023-03-29 21:48:27 +02:00
{% extends "base.html" %}
{% block main -%}
<article>
{% if page.title -%}
<h1>{{ page.title }}</h1>
{% endif -%}
<ul>
{% for post in posts -%}
<li><a href="{{base_url | trim_end_matches(pat='/') | safe}}{{post.absolute_path | safe}}">{% if post.date -%}
2023-03-29 21:48:27 +02:00
<time datetime="{{ post.date }}">{{ post.date | date(format="%Y-%m-%d") }}</time> - {{ post.title -}}
{% else -%}
{{ post.title -}}
{% endif -%}
</a></li>
{% endfor -%}
</ul>
</article>
{% endblock main -%}