From 731b53a02d16cc2b704668237314d778b6dbab1f Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 17 Apr 2026 10:41:05 +0200 Subject: feat: create 404 error page with search, recent articles, and easter egg --- themes/danix-xyz-hacker/layouts/404.html | 169 +++++++++++++++++++++++++++++++ 1 file changed, 169 insertions(+) create mode 100644 themes/danix-xyz-hacker/layouts/404.html (limited to 'themes/danix-xyz-hacker/layouts/404.html') diff --git a/themes/danix-xyz-hacker/layouts/404.html b/themes/danix-xyz-hacker/layouts/404.html new file mode 100644 index 0000000..8cb694c --- /dev/null +++ b/themes/danix-xyz-hacker/layouts/404.html @@ -0,0 +1,169 @@ +{{ define "main" }} +
+
+ +

+ 404 +

+ + +

+ {{ i18n "notFound" }} +

+ +

+ {{ i18n "notFoundMessage" }} +

+ + +
+
+ + +
+
+ +
+
+ {{ i18n "noSearchResults" }} +
+
+ + +
+

{{ i18n "recentArticles" }}

+
+ {{ range first 5 (where .Site.RegularPages "Section" "articles") }} + + {{ end }} +
+
+ + + + + +
+ +
+ + + +
+
+ + +{{ end }} -- cgit v1.2.3