64 lines
1.5 KiB
HTML
64 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{% block title %}{% endblock %}</title>
|
|
|
|
{% load static %}
|
|
<link href="{% static 'thoughts/main.css' %}" rel="stylesheet">
|
|
|
|
<meta content="thoughts.learnerpages.com" property="og:site_name">
|
|
{% block head %}{% endblock %}
|
|
|
|
<link rel="icon" sizes="192x192" href="{% static 'images/favicon-192x192.png'%}">
|
|
<link rel="apple-touch-icon" href="{% static 'images/apple-touch-icon.png'%}"/>
|
|
|
|
<style>
|
|
/*Semantic styles load as part of the page*/
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
:root {
|
|
--background-color: {{ settings.COLORS.0 }};
|
|
--text-color: {{ settings.COLORS.1 }};
|
|
--accent-color: {{ settings.COLORS.2 }};
|
|
}
|
|
|
|
{% if settings.COLORS.3 %}
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--background-color: {{ settings.COLORS.3 }};
|
|
--text-color: {{ settings.COLORS.4 }};
|
|
--accent-color: {{ settings.COLORS.5 }};
|
|
}
|
|
}
|
|
{% endif %}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<nav id="main-nav">
|
|
{% block navigation %}{% endblock %}
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="main-wrap" id="main-content">
|
|
{% block main %}
|
|
{% endblock %}
|
|
</main>
|
|
|
|
<footer>
|
|
{% block footer %}
|
|
{% endblock %}
|
|
</footer>
|
|
|
|
<div id="super-thoughts" aria-hidden="true"></div>
|
|
|
|
{% block scripts %}
|
|
{% endblock %}
|
|
|
|
</body>
|
|
</html>
|