Files
11ty_neocities/src/_includes/layout/base.njk

35 lines
950 B
Plaintext
Raw Normal View History

2023-02-21 00:02:35 +10:30
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/css/styles.css" />
2023-02-22 19:56:03 +10:30
{% if title %}
<title>{{ site.title }} - {{ title }}</title>
{% else %}
<title>{{ site.title }}</title>
{% endif %}
{% if description %}
<meta name="description" content="{{ description }}">
{% else %}
<meta name="description" content="{{ site.description }}">
{% endif %}
2023-02-21 00:02:35 +10:30
</head>
<body>
<main>
<header>{% include 'partials/header.njk' %}
<nav>{% include 'partials/navigation.njk' %}</nav>
</header>
<article>
<h1>{{ title }}</h1>
{{ content | safe }}
</article>
<footer>{% include 'partials/footer.njk' %}</footer>
2023-02-21 00:02:35 +10:30
</main>
<div class="aside">{% include 'partials/sidebar.njk' %}</div>
</div>
</div>
2023-02-21 00:02:35 +10:30
</body>
2023-02-22 19:56:03 +10:30
</html>