slime-quest-web/site-source/_includes/base.njk

33 lines
1 KiB
Text

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Slime Quest | {{ title }}</title>
<link rel="stylesheet" href="{{ '/style.css' | url }}">
</head>
<body>
<main>
<h1>{{ title or '==>' }}</h1>
<p><em>{{ subtitle }}</em><p>
{{ content | safe }}
{% set nextPage = collections.pages | getNextCollectionItem %}
{% if nextPage %}
<span class="next">&gt; <a href="{{ nextPage.url | url }}">{{ nextPage.data.title or '==>' }}</a></span>
{% else %}
<span class="next">&gt; _</span>
{% endif %}
<nav>
<ul>
<li><a href="{{ '/' | url }}">Start Over</a></li>
{% set previousPage = collections.pages | getPreviousCollectionItem %}
{% if previousPage %}
<li><a href="{{ previousPage.url | url }}">Go Back</a></li>
{% endif %}
<li><a href="/">Home</a></li>
<li><a href="https://questden.org/kusaba/questarch/res/1002454.html">Questden</a>
</ul>
</nav>
</main>
</body>
</html>