2015-07-19 02:04:01 +02:00
|
|
|
{% extends "base.html" %}
|
2017-04-22 08:41:39 +02:00
|
|
|
|
2019-10-27 16:21:23 +01:00
|
|
|
{% block meta %}
|
|
|
|
{{ super() }}
|
|
|
|
|
|
|
|
{% if page.translations -%}
|
|
|
|
<link rel="alternate" href="{{ SITEURL }}/{{ page.url }}" hreflang="{{ page.lang }}" />
|
|
|
|
{% for p in page.translations %}
|
|
|
|
<link rel="alternate" href="{{ SITEURL }}/{{ p.url }}" hreflang="{{ p.lang }}" />
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
|
2015-07-21 05:53:19 +02:00
|
|
|
{% block title %} – {{ page.title }}{% endblock %}
|
2015-07-19 02:04:01 +02:00
|
|
|
|
|
|
|
{% block content %}
|
2016-09-14 05:04:22 +02:00
|
|
|
<article class="single">
|
2015-07-19 02:04:01 +02:00
|
|
|
<header>
|
2017-04-23 00:34:29 +02:00
|
|
|
{% import 'partial/translations.html' as translations with context %}
|
|
|
|
{{ translations.translations_for(page) }}
|
2015-07-23 04:02:15 +02:00
|
|
|
<h1 id="{{ page.slug }}">{{ page.title }}</h1>
|
2015-07-19 02:04:01 +02:00
|
|
|
</header>
|
|
|
|
<div>
|
2017-02-02 07:35:00 +01:00
|
|
|
{% block before_content %}{% endblock %}
|
|
|
|
{% block page_content %}{{ page.content }}{% endblock %}
|
|
|
|
{% block after_content %}{% endblock %}
|
2015-07-19 02:04:01 +02:00
|
|
|
</div>
|
|
|
|
</article>
|
2015-07-21 05:49:51 +02:00
|
|
|
{% endblock %}
|