website/templates/page.html
2020-03-30 01:50:24 +02:00

15 lines
599 B
HTML

{% extends "index.html" %}
{% block title %}{{ page.title }} - {{ config.title }}{% endblock %}
{% block main %}
<article class="h-entry">
<div>
<h1 class="p-name">{{ page.title }}</h1>
<a class="u-url" hidden aria-hidden="true" href="{{ page.permalink }}">Permalink</a>
{%- if page.date -%}<time class="dt-published" datetime="{{ page.date }}">📅&nbsp;{{ page.date | date(format=trans(key="dateFormat", lang=lang)) }}</time>{%- endif -%}
</div>
<div class="e-content">{{ page.content | safe }}</div>
</article>
{% endblock %}