website/templates/page.html

12 lines
441 B
HTML

{% extends "index.html" %}
{% block title %}{{ page.title }} - {{ config.title }}{% endblock %}
{% block main %}
<article class="h-entry">
<h1 class="p-name">{{ page.title }}</h1>
{%- if page.date -%}<time class="dt-published" datetime="{{ page.date }}">📅&nbsp;{{ page.date | date(format="%d/%m/%Y") }}</time>{%- endif -%}
<div class="e-content">{{ page.content | safe }}</div>
</article>
{% endblock %}