website/templates/page.html

15 lines
602 B
HTML
Raw Normal View History

2020-03-29 17:26:12 +02:00
{% extends "index.html" %}
2020-03-30 20:35:04 +02:00
{% block title %}{{ page.title }}{{ config.extra.title }}{% endblock %}
2020-03-29 17:26:12 +02:00
{% block main %}
<article class="h-entry">
2020-03-29 20:44:15 +02:00
<div>
<h1 class="p-name">{{ page.title }}</h1>
<a class="u-url" hidden aria-hidden="true" href="{{ page.permalink }}">Permalink</a>
2020-03-30 01:50:24 +02:00
{%- if page.date -%}<time class="dt-published" datetime="{{ page.date }}">📅&nbsp;{{ page.date | date(format=trans(key="dateFormat", lang=lang)) }}</time>{%- endif -%}
2020-03-29 20:44:15 +02:00
</div>
2020-03-29 17:26:12 +02:00
<div class="e-content">{{ page.content | safe }}</div>
</article>
{% endblock %}