Echo Writes Code

_page.tera.html

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
<!doctype html>

<html lang="en-US">
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1">
		<title>{% block title %}{% endblock %} | {{ site.name }}</title>
		<link rel="stylesheet" href="/static/page.css">
	</head>
	<body>
		<header>
			<div class="site-title"><a href="{{ site.link }}">{{ site.name }}</a></div>
			<aside id="color-scheme-switcher">
				<label for="dark-mode-enabled">Dark mode</label>
				<input id="dark-mode-enabled" type="checkbox">
			</aside>
		</header>
		<main>
			<nav class="breadcrumbs" aria-label="Breadcrumb">
				<ol>
					{% for breadcrumb in page.breadcrumbs %}
					<li><a href="{{ breadcrumb.link }}">{{ breadcrumb.name }}</a></li>
					{% endfor %}
					<li><a href="" aria-current="page">{{ page.current.name }}</a></li>
				</ol>
			</nav>
			{% block content %}{% endblock %}
		</main>
		<footer>
			<!-- You can move this around if you like, but please don't remove it or make it invisible -->
			<span>Powered by <a href="https://git.echowritescode.dev/repository/gitten/head">gitten</a> v{{ site.version }}</span>
		</footer>

		<script src="/static/color-scheme-switcher.js"></script>
	</body>
</html>