33 lines
793 B
HTML
33 lines
793 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}{{page.title}} – {{ config.extra.sitename|safe }}{% endblock title %}
|
|
|
|
{% block head %}
|
|
{% if page.extra.katex %}{{macros::katex()}}{% endif %}
|
|
{% endblock head %}
|
|
|
|
{% block body %}
|
|
<span id="breadcrumb">
|
|
{% for a in page.ancestors %}
|
|
{% set s = get_section(path=a) %}
|
|
<a href="{{s.permalink|safe}}">{{s.title}}</a>
|
|
{% if not loop.last %}>{% endif %}
|
|
{% endfor %}
|
|
</span>
|
|
<br/>
|
|
<span id="langs">
|
|
{{lang}} –
|
|
|
|
{% for t in page.translations %}
|
|
{% if t.lang|default(value=config.default_language) != lang %}
|
|
<a href="{{t.permalink|safe}}">{{t.lang|default(value=config.default_language)}}</a>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</span>
|
|
|
|
<h1>{{page.title | safe}}</h1>
|
|
|
|
<main>
|
|
{{page.content | safe}}
|
|
</main>
|
|
{% endblock body %}
|