miom.space/_includes/layouts/default.njk

45 lines
1.3 KiB
Plaintext

<!DOCTYPE html>
<html lang="{{ language }}">
<head>
<meta charset="utf-8" />
<title>{{ title | title | safe }}</title>
<link rel="shortcut icon" href="/favicon.png" />
<meta name="theme-color" content="{{ themeColor }}" id="theme-color" />
<meta name="description" content="MiOM 202 is a creative space in Cologne, Germany">
<meta id="viewport" name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="/styles.css{{ cssCacheBust }}" media="all" />
{% if extraStylesheets %}
{% for extraStylesheet in extraStylesheets %}
<link rel="stylesheet" type="text/css" href="{{ extraStylesheet }}{{ cssCacheBust }}" media="all" />
{% endfor %}
{% endif %}
</head>
<body class="mi-page">
{% block header %}
<div class="mi-page--we-are mi-page--title mi-page--title_side">
<span class="mi-logo">MiOM 202</span>
<br>
<br>
<a href="/">Back home</a>
</div>
<header class="mi-page--title mi-content">
<h1>{{ title }}</h1>
</header>
{% endblock %}
<main class="mi-main mi-content">
{% block main %}
{{ article | md | safe }}
{% endblock %}
</main>
{% include "footer.njk" %}
</body>
</html>