1
0
Fork 0
website/templates/post.html
2023-03-25 21:38:16 +01:00

13 lines
No EOL
391 B
HTML

{% extends "base.html" %}
{% block main -%}
<article>
{% if page.title -%}
<h1>{{ page.title }}</h1>
{% endif -%}
{% if page.date -%}
<small>Posted on <time datetime="{{ page.date }}">{{ page.date | date(format="%Y-%m-%d %H:%M") }}</time></small>
{% endif -%}
{{ page.content | safe -}}
</article>
{% endblock main -%}