summaryrefslogtreecommitdiffstats
path: root/templates/base.html
blob: 78dcb60fcd6f0d4a94d35034f4d2f9440dc93b02 (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
46
47
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width initial-scale=1">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">

		<title>{% if page.title %}{{ page.title }}{% else %}{{ config.title }}{% endif %}</title>
		<meta name="description" content="{{ trans(key='description', lang=lang) }}">

		<link rel="stylesheet" type="text/css" href="{{ get_url(path='/styles.css') | safe }}">
		<link rel="alternate"
					type="application/atom+xml"
					href="{{ get_url(path='/feed.xml') | safe }}"
				  title="Rabalder atom feed (Norwegian)">
		<link rel="alternate"
					type="application/atom+xml"
					href="{{ get_url(path='en/feed.xml') | safe }}"
				  title="Rabalder atom feed (English)">
	</head>

	<body>

		<header id="site-header" class="site-header">
			<div class="site-title">
				<a href="{{ get_url(path='@/_index.md', lang=lang) | safe }}">
					<img src="{{ get_url(path='/rabalder-2am.png') | safe }}" alt="{{ config.title }}">
				</a>
			</div>
			<div class="site-bar">
				<div class="site-description">{{ trans(key="description", lang=lang) }}</div>
				<div class="language">{% block language %}{% endblock language %}</div>
			</div>
		</header>

		<div class="page-content">
			<div class="wrapper">
				{% block content %}
				{% endblock content %}
			</div>
		</div>

		{#% include footer.html %#}

	</body>

</html>