61 lines
1.5 KiB
HTML
61 lines
1.5 KiB
HTML
{% extends "base.html" %} {% block metadata %}
|
|
|
|
<meta name="description" content="{{ page.description }}" />
|
|
|
|
{% endblock %} {% block content %}
|
|
<h2>{{ page.title }}</h2>
|
|
{% if page.date and page.date is defined %}
|
|
<p>
|
|
<em
|
|
><strong>Published on</strong>:
|
|
<time datetime="{{page.date}}"
|
|
>{{ page.date | date(format="%A, %e %B %Y %R %Z",
|
|
timezone="Europe/Berlin") }}</time
|
|
></em
|
|
>
|
|
</p>
|
|
{% endif %} {% if page.updated and page.updated != page.date %}
|
|
<p>
|
|
<em
|
|
><strong>Last updated on</strong>:
|
|
<time datetime="{{page.updated}}"
|
|
>{{ page.updated | date(format="%A, %e %B %Y %R %Z",
|
|
timezone="Europe/Berlin") }}</time
|
|
></em
|
|
>
|
|
</p>
|
|
{% endif %}
|
|
{% if page.extra.author and page.extra.author != "" %}
|
|
<p>
|
|
<em>
|
|
<strong>Author(s)</strong>:
|
|
{{page.extra.author}}
|
|
</em>
|
|
</p>
|
|
{% else %}
|
|
<p>
|
|
<em>
|
|
<strong>Author</strong>:
|
|
Jonas Tobias Hopusch
|
|
</em>
|
|
</p>
|
|
{% endif %}
|
|
{% if page.extra.license and page.extra.license != "" %}
|
|
<p id="article-license">
|
|
<em>
|
|
<strong>Article is provided under the following license</strong>:
|
|
{{page.extra.license}}
|
|
</em>
|
|
</p>
|
|
{% else %}
|
|
<p id="article-missinglicense">
|
|
<em>
|
|
This article is copyright-protected
|
|
and may not be used or replicated without permission.
|
|
(All rights reserved)
|
|
</em>
|
|
</p>
|
|
{% endif %}
|
|
<hr id="last-article-metadata" />
|
|
<div>{{ page.content | safe }}</div>
|
|
{% endblock content %}
|