summary refs log tree commit diff
path: root/_includes/archive.njk
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2024-10-31 14:38:44 -0500
committerStarfall <us@starfall.systems>2024-10-31 14:38:44 -0500
commit879c7506971d5866d5195fcf6c58b759fd0eaa7a (patch)
treef880c82e03aac2fc2e42b5ad3c7098401022a2c5 /_includes/archive.njk
parenta84fe05db4df72341afad3cce3636b59b552c6c8 (diff)
refactor CSS
Diffstat (limited to '_includes/archive.njk')
-rw-r--r--_includes/archive.njk46
1 files changed, 46 insertions, 0 deletions
diff --git a/_includes/archive.njk b/_includes/archive.njk
new file mode 100644
index 0000000..1425f6e
--- /dev/null
+++ b/_includes/archive.njk
@@ -0,0 +1,46 @@
+---
+title = "Starfall"
+---
+<!doctype html>
+<html lang=en-US dir=ltr>
+<head>
+	<title>{{ title }}</title>
+	<meta charset=UTF-8>
+	<meta name=robots content="noindex, nofollow">
+	<meta name=viewport content="width=device-width, initial-scale=1">
+	<link rel=stylesheet href=/css/base.css>
+	<script src='/js/moon-phase.js'></script>
+	{{ extraHeadContent | safe }}
+</head>
+
+<body>
+<header class=clearfix>
+	<h1>{{ title }}</h1>
+	<nav aria-label=primary>
+		{% set navs = collections.all | eleventyNavigation %}
+		<ul>{%- for nav in navs %}
+			<li>
+				<a href="{{ nav.url }}"{% if nav.url == page.url %} class="active" aria-current="page"{% endif %}>{{ nav.title }}</a>
+			</li>{%- endfor %}
+		</ul>
+	</nav>
+	<div id=decor-moons aria-hidden=true></div>
+</header>
+
+<main>
+<section>
+	<b>Title</b>: {{ title }}<br/>
+	<b>Author</b>: {{ author }}<br/>
+	<b>Source</b>: <a href="{{ source }}">{{ source }}</a><br/>
+</section>
+
+<section>
+{{ content | safe }}
+</section>
+</main>
+
+<footer>
+<div style=text-align:center>∨/∧</div>
+</footer>
+
+</body>