1
0
Fork 0
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.
blog/test-theme/templates/base.html

60 lines
1.1 KiB
HTML

<!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=referrer content=no-referrer>
{#
<meta name=theme-color content="">
<meta name=color-scheme content="dark">
#}
{# TODO: More meta tags (i.e. RSS) #}
{# CSS and other: #}
<link rel=stylesheet href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/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>
<div id=main>
<nav>
{% include "sidebar.html" %}
</nav>
<main>
<div>
{% block content %}
<p>No content here...</p>
{% endblock content %}
</div>
</main>
</div> <!-- #main -->
<footer>
{% include "footer.html" %}
</footer>
</body>
</html>