Complete redesign, wow!
This commit is contained in:
parent
a2b9bc7422
commit
49049eadb3
37 changed files with 1363 additions and 485 deletions
|
|
@ -1,20 +1,13 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{{page.title|safe}} – {{ config.extra.sitename|safe }}{% endblock title %}
|
||||
{% block title %}{{page.title|safe}} – {{ tr.sitename|safe }}{% endblock title %}
|
||||
|
||||
{% block head %}
|
||||
{% if page.extra.katex %}{{macros::katex()}}{% endif %}
|
||||
{% endblock head %}
|
||||
|
||||
{% block body %}
|
||||
<nav 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 %}
|
||||
</nav>
|
||||
<span id="langs">
|
||||
{% block header %}
|
||||
<span class="langs">
|
||||
{{lang}} –
|
||||
|
||||
{% for t in page.translations %}
|
||||
|
|
@ -23,21 +16,11 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% endblock header %}
|
||||
|
||||
{% block main %}
|
||||
<h1>{{page.title | safe}}</h1>
|
||||
|
||||
<main>
|
||||
{{page.content | safe}}
|
||||
</main>
|
||||
{{page.content | safe}}
|
||||
|
||||
<footer>
|
||||
<hr/>
|
||||
<div class="footer-icons">
|
||||
<a rel="author" href="https://toot.aquilenet.fr/@tuxmain" title="Mastodon" target="_blank"><img alt="Mastodon" src="/img/mastodon-purple.svg" style="width:48px"/></a>
|
||||
<a href="/{{macros::langurl()}}atom.xml" title="☭RSS/Atom"><img alt="☭RSS/Atom" src="/img/rss-gradient.svg" style="width:48px"/></a>
|
||||
<a href="https://liberapay.com/tuxmain/donate" title="Liberapay"><img alt="Liberapay" src="/img/liberapay-donate.svg"/></a>
|
||||
</div>
|
||||
<br/>
|
||||
<a href="https://git.txmn.tk/tuxmain/website"><img alt="Forĝejo" src="/img/forgejo.svg" style="width:32px;"/> Git/Forĝejo</a> | <a rel="license" href="//creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>
|
||||
</footer>
|
||||
{% endblock body %}
|
||||
{% endblock main %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue