bidouille/templates/page.html

28 lines
707 B
HTML

{% 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>
{% 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 %}
{{ page.content }}
</article>
{% endblock %}