summaryrefslogtreecommitdiff
path: root/templates/base.html
blob: bbaa05fa06fd0f46a610a586e6d13cc3a6e1ee98 (plain)
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">
	{% block head %}
	<head>
		<meta charset="UTF-8" />
		<title>{% block title %}{% endblock title %}</title>
		<meta name="viewport" content="width=device-width,initial-scale=1" />
		<meta
			name="description"
			content="{% block description %}{% endblock description %}"
		/>
		<style>{{ load_data(path="static/main.css") | safe }}</style>
		<link rel="sitemap" href="sitemap.xml" />
	</head>
	{% endblock head %}
	<body>
		<h1><b>getchoo's website 🦀</b></h1>
		{% block nav %}
		<nav>
			<div id="nav_links">
				{% for link in config.extra.nav_links %}
					<a href="{{ link.url }}">{{ link.name }}</a>
				{% endfor %}
			</div>

			<hr />
		</nav>
		{% endblock nav %}
		{% block content %}{% endblock content %}
		{% block footer %}
		<footer>
			<a href="{{ config.extra.repository_url }}">source code</a>
		</footer>
		{% endblock footer %}
	</body>
</html>