summaryrefslogtreecommitdiffstats
path: root/templates/base.html
blob: f743b58bc7d890302f2ee275045a050f4278b1e7 (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
<!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">{{ config.title }}</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>