blob: a4eacf8636a14b82509a883a0b4c0e0916a8c7e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{% extends "base.html" %}
{% 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 %}
{% block title %} – {{ page.title|striptags|escape }}{% endblock %}
{% block content %}
<article class="single content">
<header>
{% import 'partial/translations.html' as translations with context %}
{{ translations.translations_for(page) }}
<h1 id="{{ page.slug }}">{{ page.title }}</h1>
</header>
<div>
{% block before_content %}{% endblock %}
{% block page_content %}{{ page.content }}{% endblock %}
{% block after_content %}{% endblock %}
</div>
</article>
{% endblock %}
|