nekrochan/templates/base.html

48 řádky
2.0 KiB
HTML
Spustitelný soubor

{% import "./macros/board-links.html" as board_links %}
<!DOCTYPE html>
<html lang="cs">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}{% endblock %}</title>
<meta name="description" content="{{ tcx.cfg.site.description }}">
<link rel="stylesheet" href='/static/themes/{% block theme %}{% include "../theme.txt" %}{% endblock %}'>
<link rel="stylesheet" href="/static/style.css">
<!-- Muh flash of unstyled content -->
<script>0</script>
</head>
<body>
<div class="board-links header">
<span class="link-group"><a href="/">domov</a></span>
{% call board_links::board_links() %}
<span class="link-group">
<a href="/overboard">nadnástěnka</a>
<span class="link-separator"></span>
<a href="/news">novinky</a></span>
</span>
<span class="float-r">
{% if tcx.account.is_some() %}
<span class="link-group">
<a href="/logout">odhlásit se</a>
<span class="link-separator"></span>
<a href="/staff/account">účet</a>
</span>
{% else %}
<span class="link-group"><a href="/login">přihlásit se</a></span>
{% endif %}
</span>
</div>
<div class="main">
{% block content %}{% endblock %}
<div class="footer">
<div class="box inline-block">
<a href="https://git.nekrofilie.com/sneedmaster/nekrochan">nekrochan</a> - Projekt <a href="https://nekrofilie.com/">Nekrofilie</a>
<br>
<span>Všechny příspěvky na této stránce byly vytvořeny náhodnými uživateli.</span>
</div>
</div>
</div>
</body>
</html>