Initial commit

This commit is contained in:
Pascal Engélibert 2022-09-19 18:41:09 +02:00
commit 05cd190c53
Signed by: tuxmain
GPG key ID: 3504BC6D362F7DCA
155 changed files with 49378 additions and 0 deletions

25
templates/index.html Normal file
View file

@ -0,0 +1,25 @@
{% 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 %}