You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wish/utils/templates/base.html

57 lines
1020 B
HTML

{% load static %}
<!doctype html>
<html>
<head>
{# Meta: #}
<meta charset=utf-8>
{% if GENERATOR %}
<meta name=generator content="{{ GENERATOR }}">
{% endif %}
{% if AUTHOR %}
<meta name=author content="{{ AUTHOR }}">
{% endif %}
{% if SITE_DESCRIPTION %}
<meta name=description content="{{ SITE_DESCRIPTION }}">
{% endif %}
<meta name=referref content=no-referer>
{#
<meta name=theme-color content="">
<meta name=color-scheme content="dark">
#}
{# TODO: More meta tags #}
{# CSS and other: #}
<link rel=stylesheet href="{% static 'theme.css' %}">
{# Title setting #}
{% if page_title %}
{% set final_title = page_title ~ ' ' ~ SITENAME %}
{% else %}
{% set final_title = SITENAME %}
{% endif %}
<title>{{ final_title }}</title>
</head>
<body>
<header>
{% include "header.html" %}
</header>
<nav>
{% include "sidebar.html" %}
</nav>
<main>
{% block content %}
<p>No content here...</p>
{% endblock content %}
</main>
<footer>
{% include "footer.html" %}
</footer>
</body>
</html>