pbe/example-site/templates/tag.html
Gered 83d75d4885 represent post dates as a NaiveDateTime, still allowing for date-only
posts can be specified with a date only, or date and time as desired.
it is up to the site's specific template to render posts with an
appropriate date/time format string based on what the author's
preferences
2023-06-28 15:16:29 -04:00

16 lines
360 B
HTML

{% extends "base.html" %}
{% block title %}Posts With Tag {{ tag }}{% endblock title %}
{% block content %}
<header>
<h1>Posts With Tag "{{ tag }}"</h1>
</header>
<table>
{% for post in posts %}
<tr>
<td><time>{{ post.date | date }}</time></td>
<td><a href="{{ post.url }}">{{ post.title }}</a></td>
</tr>
{% endfor %}
</table>
{% endblock content %}