summaryrefslogtreecommitdiffstats
path: root/templates/base.html
blob: a2ddeb92bc1920e5707b3943f5cb459206f3a0ac (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
<!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="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> #}
	</head>

	<body>

		<header id="site-header" class="site-header">
			<div class="site-title">
				<a href="{{ get_url(path="@/_index.md", lang=lang) }}">
					<img src="{{ get_url(path="/rabalder-2am.png") }}" 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>