Files
sukr/templates/content/post.html
2026-01-31 15:13:24 -07:00

20 lines
586 B
HTML

{% extends "base.html" %} {% block content %}
<article class="post">
<header>
<h1>{{ page.title }}</h1>
{% if page.date %}
<time class="date">{{ page.date }}</time>
{% endif %} {% if page.description %}
<p class="description">{{ page.description }}</p>
{% endif %} {% if page.tags %}
<ul class="tags">
{% for tag in page.tags %}
<li><a href="{{ prefix }}/tags/{{ tag }}.html">{{ tag }}</a></li>
{% endfor %}
</ul>
{% endif %}
</header>
<section class="content">{{ content | safe }}</section>
</article>
{% endblock content %}