website/templates/index.html
2022-09-19 18:41:09 +02:00

25 lines
558 B
HTML

{% extends "base.html" %}
{% block title %}{{ config.extra.sitename|safe }}{% endblock title %}
{% block head %}
{% if section.extra.katex %}{{macros::katex()}}{% endif %}
{% endblock head %}
{% block body %}
<span id="langs">
{{lang}} &#8211;
{% for t in section.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>tuxmain</h1>
<main>
{{section.content | safe}}
</main>
{% endblock body %}