{% 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 %}