Files
11ty_neocities/src/_includes/layout/base.njk
2023-03-01 15:59:35 +10:30

42 lines
1.1 KiB
Plaintext

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