{% load static %} <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>{% block title %}Title{% endblock %}</title> <link rel="shortcut icon" href="{% static "logo.svg" %}" type="image/x-svg"> <link rel="stylesheet" href="{% static "base.css" %}"> <script src="{% static "base.js" %}"></script> {% block head %}{% endblock %} </head> <body> <header> <nav> <a class="logo" href="{% url "dashboard" %}"><img src="{% static "logo.svg" %}" alt="Time Dispatcher logo"></a> {% for nav_link in nav_links %} <a href="{% url nav_link.view %}" {% if request.resolver_match.view_name == nav_link.view %}class="active"{% endif %}>{{ nav_link.label }}</a> {% endfor %} </nav> </header> <main> {% block main %}{% endblock %} </main> <footer> {% if debug %}<span class="debug">Debug</span>{% endif %} <span><i>Time Dispatcher v{{ version }}</i></span> <span class="sep"></span> <span><a href="https://git.kb28.ch/HEL/TimeDispatcher" target="_blank">Gitea</a></span> </footer> </body> </html>