blob: 8de7317d6dfcaa96bdd3acb3517d403508829e15 (
plain)
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
48
49
|
{# vim: set ft=htmldjango: #}
{% import "macros.html" as macros %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="noindex" />
<title>
{% if this.title %}{{ this.title }} -{% endif %}
{{ config.title }}
</title>
<link rel="icon" type="image/png" href="/avatar.png" />
<meta name="description"
content="{{ section.description | default(value=config.description) }}" />
<meta name="keywords" content="blog" />
<link rel="alternate"
type="application/rss+xml"
title="RSS"
href="{{ get_url(path="rss.xml") | safe }}" />
<link rel="stylesheet" type="text/css" href="/style.css" />
</head>
<body>
<header>
<nav>
<h1>{{ macros::nav_item(name=config.title, url=config.base_url) }}</h1>
<ul>
<li>{{ macros::nav_item(name="Projects",url=get_url(path="@/projects.md") ) }}</li>
<li>{{ macros::nav_item(name="Posts",url=get_url(path="@/posts/_index.md") ) }}</li>
<li>{{ macros::nav_item(name="About",url=get_url(path="@/about.md") ) }}</li>
</ul>
</nav>
</header>
<main>
{% block content %}
<header>
<h1>{{ section.title | safe }}</h1>
<h3>{{ section.description | default(value="") | markdown(inline=true) | safe }}</h3>
</header>
{{ section.content | safe }}
{% endblock content %}
</main>
<footer>
This site was was built using <a href="https://www.getzola.org/">Zola</a>.
The <a href="{{ config.extra.repository }}">code</a> is licensed under
<a href="https://opensource.org/licenses/{{ config.extra.license }}">{{ config.extra.license }}</a>.
</footer>
</body>
</html>
|