blog/lib/layouts/default.njk

24 lines
554 B
Plaintext
Raw Normal View History

2023-08-15 23:02:17 +02:00
<!doctype html>
<html>
<head>
<title>{{ title }}</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/main.css" rel="stylesheet">
</head>
<body class="bg-white text-black dark:bg-black dark:text-white">
<section class="flow md:container md:mx-auto p-4">
{% block nav %}
<p>
<a href="/">{{ sitename }}</a>
</p>
{% endblock %}
{% block main %}
{{ contents | safe }}
{% endblock %}
</section>
</body>
</html>