summaryrefslogtreecommitdiff
path: root/templates/partials/head.html
blob: 5b1dcf612e25b343f597ae0aa20f866bd7369516 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width,initial-scale=1" />
	<style>{{ load_data(path="static/main.css") | safe }}</style>
	<link rel="sitemap" href="sitemap.xml" />
	{% if page.title %}
		<title>{{ page.title }} :: {{ config.title }}</title>
	{% elif section.title %}
		<title>{{ section.title }} :: {{ config.title }}</title>
	{% else %}
		<title>{{ config.title }}</title>
	{% endif %}
	{% if page.description %}
		<meta name="description" content="{{ page.description }}" />
	{% elif section.description %}
		<meta name="description" content="{{ section.description }}" />
	{% else %}
		<meta name="description" content="{{ config.description }}" />
	{% endif %}
</head>