bidouille/templates/page.html

28 lines
707 B
HTML
Raw Permalink Normal View History

2024-03-13 18:00:24 +01:00
{% extends "base.html" %}
{% block title %}{{ SITENAME|striptags }} - {{ page.title|striptags }}{%endblock%}
{% block head %}
{{ super() }}
<meta name="description" content="{{ page.subtitle }} {{ page.description }}">
{% endblock %}
{% block content %}
<article>
2024-03-24 13:24:33 +01:00
{% if DISPLAY_PAGE_HEADER %}
<hgroup>
<h1>
{{ page.title }}
</h1>
<p>
{% if page.modified %}
Modifié le <time datetime="{{ page.modified.isoformat() }}">{{ page.modified|strftime('%A %d %B %Y') }}</time>
{% else %}
Publié le <time datetime="{{ page.date.isoformat() }}">{{ page.date|strftime('%A %d %B %Y') }}</time>
{% endif %}
</p>
</hgroup>
{% endif %}
2024-03-13 18:00:24 +01:00
{{ page.content }}
</article>
{% endblock %}