37 lines
707 B
HTML
37 lines
707 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
{% block head %}
|
||
|
<title>Matemat</title>
|
||
|
{% endblock %}
|
||
|
</head>
|
||
|
<body>
|
||
|
<header>
|
||
|
{% block header %}
|
||
|
|
||
|
<a href="/">Home</a>
|
||
|
{% if authlevel|default(0) > 1 %}
|
||
|
{% if user.is_admin %}
|
||
|
<a href="/admin">Administration</a>
|
||
|
{% else %}
|
||
|
<a href="/admin">Settings</a>
|
||
|
{% endif %}
|
||
|
{% endif %}
|
||
|
{% endblock %}
|
||
|
</header>
|
||
|
<main>
|
||
|
{% block main %}{% endblock %}
|
||
|
</main>
|
||
|
<footer>
|
||
|
{% block footer %}
|
||
|
<ul>
|
||
|
<li> Matemat
|
||
|
<li> © 2018 s3lph
|
||
|
<li> MIT License
|
||
|
<li> <a href="https://gitlab.com/s3lph/matemat">Source & Documentation</a>
|
||
|
</ul>
|
||
|
{% endblock %}
|
||
|
</footer>
|
||
|
</body>
|
||
|
</html>
|