summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-09-17 15:59:30 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2025-09-17 15:59:30 +0200
commitda7e4514cfdbe52e8f1ef6aadd54c401e2b849f5 (patch)
tree86658a61d347ea171a0aa7be24fdb36769ba373c /templates
parent20f3e7c7465cd899b46204d4f07460543e7cb5cc (diff)
Use zola
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html48
-rw-r--r--templates/index.html5
-rw-r--r--templates/shortcodes/window.html8
-rw-r--r--templates/text.html8
4 files changed, 69 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..04120ba
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,48 @@
+<!DOCTYPE HTML>
+
+<html lang="en">
+ <head>
+ <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="theme-color" content="#0000f5">
+ <meta name="fediverse:creator" content="@ruben@friendship.quest" />
+
+ <title>Rubén Beltrán del Río &mdash; {{ section.title }}</title>
+
+ <link rel="preload" href="/font/LibreCaslonCondensed[wdth,wght].woff2" as="font" type="font/woff2" crossorigin>
+ <link rel="preload" href="/font/LibreCaslonCondensed-Italic[wght].woff2" as="font" type="font/woff2" crossorigin>
+ <link rel="preload" href="/font/Ronzino-Medium.woff2" as="font" type="font/woff2" crossorigin>
+ <link rel="preload" href="/font/Ronzino-Bold.woff2" as="font" type="font/woff2" crossorigin>
+
+ <link rel="stylesheet" type="text/css" href="/css/style.css">
+ <link rel="author" href="humans.txt">
+
+ <script type="module" src="/js/animation.js"></script>
+ </head>
+ <body>
+ <header>
+ <h1>
+ <canvas width="60" height="60" aria-hidden="true"></canvas>
+ <a href="/">Rubén Beltrán del Río</a>
+ </h1>
+ <p>✷ Holistic
+ tech
+ services ✷</p>
+ </header>
+ <main>
+ {% block content %}{% endblock %}
+ </main>
+ <footer>
+ <menu>
+ <ul>
+ <li><a href="/impressum">Impressum</a></li>
+ <li><a href="/privacy-policy">Privacy Policy</a></li>
+ <li>Check out <a href="https://r.bdr.sh">my personal website.</a></li>
+ </ul>
+ </menu>
+ </footer>
+ </body>
+</html>
+
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..be0db07
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,5 @@
+{% extends "base.html" %}
+
+{% block content %}
+{{ section.content | safe }}
+{% endblock %}
diff --git a/templates/shortcodes/window.html b/templates/shortcodes/window.html
new file mode 100644
index 0000000..3fe8b50
--- /dev/null
+++ b/templates/shortcodes/window.html
@@ -0,0 +1,8 @@
+<section class="window cutoff-corners">
+ <header class="titlebar">
+ <span class="label">{{title}}</span>
+ </header>
+ <div class="content">
+ {{ body | safe }}
+ </div>
+</section>
diff --git a/templates/text.html b/templates/text.html
new file mode 100644
index 0000000..9ba2a71
--- /dev/null
+++ b/templates/text.html
@@ -0,0 +1,8 @@
+{% extends "base.html" %}
+
+{% block content %}
+<section id="text">
+
+ {{ section.content | safe }}
+</section>
+{% endblock %}