Add basic theme

Actually copied from my blog ATM
newer-dal
LEdoian 4 years ago
parent 92b20dd8a4
commit 05088bdbdf

@ -0,0 +1,12 @@
body {
background-color: #003;
color: #5bf;
}
a {
color: #8df;
}
h1, h2, h3, h4, h5, h6 {
font-family: sans-serif;
}

@ -0,0 +1,56 @@
{% 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>

@ -0,0 +1,2 @@
<hr>
Written using {{ GENERATOR }} probably by {{ AUTHOR }}.
Loading…
Cancel
Save