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
<!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 %} | {{ application.name }}</title>
		<link rel="stylesheet" href="/static/page.css">
	</head>
	<body>
		<header>
			<div class="site-title"><a href="/">{{ application.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>{% block content %}{% endblock %}</main>
		<footer>
			<span>Powered by Gitten v{{ application.version }}</span>
		</footer>

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