Files
11ty_neocities/src/_includes/layout/base.njk
2023-02-26 01:16:13 +10:30

37 lines
1016 B
Plaintext

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/img/fav.png">
<link rel="stylesheet" href="/css/normalize.css" />
<link rel="stylesheet" href="/css/styles.css" />
{% 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 %}
</head>
<body>
<main>
<header>{% include 'partials/header.njk' %}</header>
<hr/>
<article>
<h1>{{ title }}</h1>
{{ content | safe }}
</article>
<hr/>
<footer>{% include 'partials/footer.njk' %}</footer>
</main>
<aside>{% include 'partials/sidebar.njk' %}</aside>
</div>
</div>
</body>
</html>