sl-site/_includes/main.njk

48 lines
1.1 KiB
Plaintext

---
title: jakew
---
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{ title }}</title>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' media='screen' href='https://southlondon.cc/main.css'>
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<script src='https://southlondon.cc/main.js'></script>
<style>
body {
text-transform: lowercase;
}
</style>
</head>
<body>
<div class="header header-blue">
<h1 style="white-space: pre-line">{{ title }}</h1>
</div>
<main>
<div class="nav">
{% set navPages = collections.all | eleventyNavigation %}
<p style="text-align: center;">
{%- for entry in navPages -%}
<a {% if entry.url == page.url %}style="font-weight: 900;"{% endif %} href="{{ entry.url | url }}">
{{ entry.title }}
</a>
{% if not loop.last %}
&bull;
{% endif %}
{%- endfor -%}
</p>
</div>
<hr>
{{ content | safe }}
</main>
</body>
</html>