ese-website/_layouts/page.njk
2024-09-15 16:11:29 +02:00

40 lines
712 B
Plaintext

---
eleventyComputed:
eleventyNavigation:
key: "{{ title }}"
---
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% if title %}{{ title }} | {% endif %}ESE {{ year }}</title>
<link rel="stylesheet" href="{% getBundleFileUrl "css" %}">
</head>
<body>
{% include 'header.njk' %}
<main>
{{ content | safe }}
</main>
{% include 'footer.njk' %}
</body>
</html>
{% css %}
:root {
--page-width: 75rem;
}
body {
font-family: sans-serif;
margin: 0;
font-size: 17px;
}
main {
max-width: var(--page-width);
margin-left: auto;
margin-right: auto;
}
{% endcss %}