summary refs log tree commit diff
path: root/_includes/blogpost.njk
blob: 579719982a44f0b344386fa3af836c9e01aac406 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
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/terminal.css>
	<script src='/js/moon-phase.js'></script>
	{{ extraHeadContent | safe }}
</head>

<body>
<!-- todo color picker -->

<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 == '/blog/' %} class="active"{% endif %}>{{ nav.title }}</a>
			</li>{%- endfor %}
		</ul>
	</nav>
	<span id=decor-moons aria-hidden=true></span>
</header>

<article>
{% if author %}{{ author }} {% endif -%}
{% if date %}{{ date | local_date }}{% endif -%}
{{ content | safe }}
</article>

<footer>
<section>
	<p>This site is 100% <a href=https://git.starfall.systems/infra/web>source-available</a>. © 2020-2024 Starfall. See <a href=https://git.starfall.systems/infra/web/tree/COPYING.md rel=license>COPYING.md</a>.
</section>
<div style=text-align:center>⋁/⋀</div>
</footer>

</body>