website/templates/page.html
2020-03-29 17:26:12 +02:00

17 lines
641 B
HTML

{% extends "index.html" %}
{% block title %}{{ page.title }} - {{ config.title }}{% endblock %}
{% block main %}
<article class="h-entry">
<h2 class="p-name">{{ page.title }}</h2>
{%- 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>
{% if config.extra.forge %}
<aside class="source">
<a href="{{ config.extra.forge.browse }}content/{{ page.path }}index.md">Source</a>
</aside>
{% endif %}
</article>
{% endblock %}