This commit is contained in:
2025-10-28 18:35:52 +01:00
parent 96974c6922
commit 737b175efd
55 changed files with 2239 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
<footer class="bottombar">
<div class="bottombar-content">
<nav class="footer-links">
<a href="/impressum/">Impressum</a> ·
<a href="/datenschutz/">Datenschutz</a> ·
<a href="mailto:{{ .Site.Params.email}}">Email</a>
<a href="/publickey.asc">PGP-Key</a>
</nav>
<div class="copyright">© {{ now.Format "2006" }} {{ .Site.Params.name | default "Your Name" }}</div>
</div>
</footer>
+10
View File
@@ -0,0 +1,10 @@
<div class="infobox">
<div class="infobox-content">
<span class="infobox-label">Date Published:</span>
<span class="infobox-value">{{ .Date | time.Format "January 2, 2006" }}</span>
</div>
<div class="infobox-content">
<span class="infobox-label">Read time: </span>
<span class="infobox-value">{{ printf " %d minute(s)" .ReadingTime }}</span>
</div>
</div>
+13
View File
@@ -0,0 +1,13 @@
<header class="topbar">
<div class="topbar-content">
<em>
<a href="{{ "/" | relURL }}" class="site-title">
{{ .Site.Title }}
</a>
</em>
<nav class="nav-links">
<a href="{{ "blog/" | relURL }}">~/blog</a>
<a href="{{ "whoami/" | relURL }}">~/whoami</a>
</nav>
</div>
</header>
+27
View File
@@ -0,0 +1,27 @@
<style>
#typedText::after {
content: "|";
animation: blink 0.7s infinite;
}
@keyframes blink {
50% { opacity: 0; }
}
</style>
<script>
document.addEventListener("DOMContentLoaded", function () {
const text = "{{ .Title }}"; // dynamically type the page title
const element = document.getElementById("typedText");
let index = 0;
function type() {
if (index < text.length) {
element.textContent += text.charAt(index);
index++;
setTimeout(type, 120); // typing speed in ms
}
}
type();
});
</script>
+24
View File
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="preconnect" href="https://rsms.me/">
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<link rel="stylesheet" href="/css/style.css">
<meta charset="UTF-8">
<title> {{ .Site.Params.browserTitle }} :: {{ .Title }} </title>
</head>
<body>
{{ partial "topbar.html" . }}
<main>
{{ block "main" . }}{{ end }}
</main>
{{ partial "bottombar.html" . }}
</body>
</html>
+13
View File
@@ -0,0 +1,13 @@
{{ define "main" }}
<article>
<h1>{{ .Title }}</h1>
{{ partial "infobox.html" . }}
{{ .Content }}
</article>
{{ end }}
+8
View File
@@ -0,0 +1,8 @@
{{ define "main" }}
{{ with .Site.GetPage "page" "home" }}
{{ .Content }}
{{ partial "typed.html" . }}
{{ end }}
{{ end }}
+11
View File
@@ -0,0 +1,11 @@
{{ define "main" }}
{{ .Title }}
<ul>
{{ range .Pages }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}
+11
View File
@@ -0,0 +1,11 @@
{{ define "main" }}
<article>
<h1>{{ .Title }}</h1>
{{ .Content }}
</article>
{{ end }}