From 410ef388a551e7eab8772a62962ddaeb2125d5a6 Mon Sep 17 00:00:00 2001 From: auggod Date: Sun, 14 Aug 2022 13:43:07 +0200 Subject: [PATCH] Add basic 404 page (#52) --- src/content/notfound/_index.en.md | 6 ++++++ src/layouts/notfound/single.html | 12 ++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 src/content/notfound/_index.en.md create mode 100644 src/layouts/notfound/single.html diff --git a/src/content/notfound/_index.en.md b/src/content/notfound/_index.en.md new file mode 100644 index 0000000..c5fb1c9 --- /dev/null +++ b/src/content/notfound/_index.en.md @@ -0,0 +1,6 @@ +--- +title: "404" +description: "404 page not found" +layout: "single" + +--- diff --git a/src/layouts/notfound/single.html b/src/layouts/notfound/single.html new file mode 100644 index 0000000..b30d5bc --- /dev/null +++ b/src/layouts/notfound/single.html @@ -0,0 +1,12 @@ +{{ define "main" }} + +
+
+

{{ .Title }}

+
+
+

{{ .Params.description }}. Get back to home.

+
+
+ +{{ end }}