404 on stefankoelle.de

This commit is contained in:
2026-08-17 00:05:31 +02:00
parent 069909540f
commit 36ff6f97dd
4 changed files with 67 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
ErrorDocument 404 /404.html
+14
View File
@@ -0,0 +1,14 @@
---
title: "Page Not Found"
section: "stefankoelle"
siteTitle: "stefankoelle.de"
description: "The page you are looking for does not exist."
layout: base.njk
permalink: /404.html
---
<style>:root { --accent: #888888; }</style>
<div class="error-page">
<h1>404</h1>
<p>The page you are looking for does not exist or has been moved.</p>
<a class="back-link" href="/">← Back to stefankoelle.de</a>
</div>
+48
View File
@@ -0,0 +1,48 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ title }} · {{ siteTitle | default("moonweb.org") }}</title>
<meta name="description" content="{{ description }}">
<link rel="canonical" href="{{ site.url }}{{ page.url }}">
<meta property="og:title" content="{{ title }} · {{ siteTitle | default("moonweb.org") }}">
<meta property="og:description" content="{{ description }}">
<meta property="og:url" content="{{ site.url }}{{ page.url }}">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="{{ title }} · {{ siteTitle | default("moonweb.org") }}">
<meta name="twitter:description" content="{{ description }}">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lobster&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/shared-base.css">
<link rel="stylesheet" href="/theme.css">
</head>
<body>
<header class="site-header">
<div class="site-banner">
<span class="site-title">{{ siteTitle | default(section + ".moonweb.org") }}</span>
</div>
<nav class="site-switcher">
<a href="https://hub.moonweb.org">hub</a>
<a href="https://infra.moonweb.org">infra</a>
<a href="https://smarthome.moonweb.org">smarthome</a>
<a href="https://code.moonweb.org">code</a>
<a href="https://retro.moonweb.org">retro</a>
<a href="https://stefankoelle.de">cv</a>
</nav>
</header>
<main>
{% if parent %}<a class="back-link" href="{{ parent }}">← Back to {{ section }} overview</a>{% endif %}
{{ content | safe }}
</main>
<footer class="site-footer">
<p>Part of the <a href="https://hub.moonweb.org">moonweb.org</a> homelab.</p>
<p><a href="https://hub.moonweb.org/impressum/">Legal Notice &amp; Privacy Policy</a></p>
</footer>
</body>
</html>
+4
View File
@@ -4,7 +4,11 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addPassthroughCopy({ "stefankoelle/assets": "assets" });
eleventyConfig.addPassthroughCopy({ "stefankoelle/ledmatrix/assets": "ledmatrix/assets" });
eleventyConfig.addPassthroughCopy({ "stefankoelle/robots.txt": "robots.txt" });
eleventyConfig.addPassthroughCopy({ "stefankoelle/.htaccess": ".htaccess" });
eleventyConfig.addPassthroughCopy({ "stefankoelle/pdf/cv.pdf": "pdf/cv.pdf" });
eleventyConfig.addPassthroughCopy({ "shared/base.css": "shared-base.css" });
eleventyConfig.addPassthroughCopy({ "shared/theme-hub.css": "theme.css" });
eleventyConfig.addPassthroughCopy({ "shared/favicon/hub.svg": "favicon.svg" });
return {
dir: {