summaryrefslogtreecommitdiffstatshomepage
path: root/templates/base.html
blob: edce0807957b67d1562741c03ef80b7c770443bc (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
{% import "macros.html" as macros -%}
<!DOCTYPE html>
<html lang="en">
	<head>
		<title>{{ config.title ~ " · " }}{% block title %}{{ config.description }}{% endblock %}</title>
		<link rel="stylesheet" href="/style.css"/>
		<link rel="icon" href="/icon.svg"/>
		<link rel="alternate" type="application/atom+xml" title="zunzuncito" href="/atom.xml" />
		{%- block additional_feeds %}{% endblock %}
		<meta charset="utf-8"/>
		<meta name="viewport" content="width=device-width, initial-scale=1"/>
	</head>
	<body>
		<main>
			<header>
				<h1><a href="/">{{ config.title }}</a></h1>
				<div class="banner smaller">
				{{ config.description }} ·
				{%- block description %}
					<a href="/atom.xml">feed</a> · <a href="/tags">tags</a>
				{%- endblock %}
				</div>
			</header>
			{%- block content %}{% endblock -%}
		</main>
	</body>
</html>