website/templates/template.html

53 lines
2.0 KiB
HTML

<!doctype html>
<html lang="en">
<center>
<head>
{% block head %}
<meta charset="utf-8">
<link rel="stylesheet" href="{{ url_for('static', filename='stylesheet.css') }}">
<title>{% block title %}Stefan's Blog{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<div class="menu">
<a href="{{ url_for('index') }}" style="text-decoration:none">Stefan Friese's Website</a>
</div>
<style>
/* Stylesheet 1 */
body { background: {{ colors.body_background }}; color: {{ colors.body }}; }
hr{ color: {{ colors.hr }}; border-color: {{ colors.hr_border }}; }
pre { background: {{ colors.pre_background }}; color: {{ colors.pre }}; border: 1px solid {{ colors.pre_border }}; }
code { background: {{ colors.code_background }}; color: {{ colors.code }}; }
a:hover { color: {{ colors.a }}; }
details > summary { background: {{ colors.details_background }}; }
details > summary:hover { background: {{ colors.details_hover_background }}; color: {{ colors.details_hover }}; }
::selection { background: {{ colors.selection_background }}; }
::-moz-selection { background: {{ colors.moz_selection_background }}; }
</style>
<hr style="width: 36ch;"/>
<div class="menu">
<a href="{{ url_for('about') }}" style="text-decoration:none">about&emsp;</a>
<a href="{{ url_for('contact') }}" style="text-decoration:none">contact&emsp;</a>
<a href="{{ url_for('rss') }}" style="text-decoration:none">rss&emsp;</a>
<a href="https://git.stefan.works" style="text-decoration:none">git</a>
</div>
<br><br>
<p></p>
<hr/>
</center>
<p></p>
{% endblock %}
</head>
<body>
<div lang="en" class="content">{% block content %}{% endblock %}</div>
<div id="footer">
{% block footer %}
<hr/>
<p></p>
<center>
&copy; Stefan Friese
</center>
{% endblock %}
</div>
</body>
</html>