Initial commit
This commit is contained in:
commit
05cd190c53
155 changed files with 49378 additions and 0 deletions
25
templates/index.html
Normal file
25
templates/index.html
Normal 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}} –
|
||||
|
||||
{% 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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue