This commit is contained in:
2026-05-25 22:53:28 +02:00
parent 77ff06348a
commit e1fe3e1bc5
96 changed files with 18132 additions and 590 deletions

24
homepage/layouts/404.html Normal file
View File

@@ -0,0 +1,24 @@
{{ define "main" }}
<h1>404 - Page Not Found</h1>
<p>The page you're looking for doesn't exist or has been moved.</p>
<nav aria-label="404 navigation">
<ul>
<li><a href="{{ "/" | relURL }}">← Return to homepage</a></li>
{{ with site.Home }}
{{ with .GetPage "posts" }}
{{ if . }}
<li><a href="{{ .RelPermalink }}">Browse posts</a></li>
{{ end }}
{{ end }}
{{ end }}
{{ with site.Home }}
{{ with .GetPage "about" }}
{{ if . }}
<li><a href="{{ .RelPermalink }}">About page</a></li>
{{ end }}
{{ end }}
{{ end }}
</ul>
</nav>
{{ end }}