website/templates/page.html

12 lines
441 B
HTML
Raw Normal View History

2020-03-29 17:26:12 +02:00
{% extends "index.html" %}
{% block title %}{{ page.title }} - {{ config.title }}{% endblock %}
{% block main %}
<article class="h-entry">
2020-03-29 19:15:40 +02:00
<h1 class="p-name">{{ page.title }}</h1>
2020-03-29 17:26:12 +02:00
{%- 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 %}