summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html23
1 files changed, 11 insertions, 12 deletions
diff --git a/templates/base.html b/templates/base.html
index 5cc8b33..62629ff 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,3 +1,5 @@
+{% import "header_macros.html" as header_macros %}
+
<!DOCTYPE HTML>
<html lang="en">
@@ -5,11 +7,11 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Rubén Beltrán del Río">
- <meta name="description" content="{{ section.description }}">
+ <meta name="description" content="{{ config.description }}">
<meta name="theme-color" content="#0000f5">
<meta name="fediverse:creator" content="@ruben@friendship.quest" />
- <title>Rubén Beltrán del Río &mdash; {{ section.title }}</title>
+ <title>Rubén Beltrán del Río &mdash; {{ config.title }}</title>
<link rel="canonical" href="{{current_url | safe}}">
@@ -19,22 +21,19 @@
<link rel="preload" href="/font/LibreCaslonText-Italic[wght].woff2" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" type="text/css" href="/css/style.css">
+ <link href="//fastly-cloud.typenetwork.com/projects/8926/fontface.css?6977e213" rel="stylesheet" type="text/css">
<link rel="author" href="humans.txt">
<link rel="icon" href="/img/favicon.png" />
+ <link rel="alternate" href="/atom.xml" hreflang="en" title="Atom feed, all posts.">
+
<script type="module" src="/js/animation.js"></script>
</head>
<body>
- <header>
- <h1>
- <canvas width="75" height="75" aria-hidden="true"></canvas>
- <a href="/">Rubén Beltrán del Río</a>
- </h1>
- <p>✷ Holistic
- tech
- services ✷</p>
- </header>
+ {% block header %}
+ {{ header_macros::main_header() }}
+ {% endblock %}
<main>
{% block content %}{% endblock %}
</main>
@@ -43,10 +42,10 @@
<ul>
<li><a href="/impressum">Impressum</a></li>
<li><a href="/privacy-policy">Privacy Policy</a></li>
+ <li><a href="/blog">Blog</a></li>
<li>Check out <a href="https://r.bdr.sh">my personal website.</a></li>
</ul>
</menu>
</footer>
</body>
</html>
-