From ea684aafec05f86e26dcb395050c72f482e2e2c4 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Sun, 21 Apr 2024 14:11:03 +0800 Subject: [PATCH] Fix Not Found permalink and exclude the page from collections --- _site/feed.xml | 2 +- _site/not_found.html | 49 ++++++++++++++++++++++++++++++++++++++++++++ src/not_found.njk | 2 ++ 3 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 _site/not_found.html diff --git a/_site/feed.xml b/_site/feed.xml index e26e3bd5..7c00cab7 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -4,7 +4,7 @@ Leilukin's personal website. - 2024-04-21T06:06:29Z + 2024-04-21T06:10:25Z https://leilukin.neocities.org Leilukin diff --git a/_site/not_found.html b/_site/not_found.html new file mode 100644 index 00000000..46bc641c --- /dev/null +++ b/_site/not_found.html @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Page Not Found | Leilukin's Hub + + +
+ Leilukin's Hub website banner +

Page Not Found

+ + +

Oops! Either the page you are looking for does not exist, or it has been moved to a diffrent part of this site.

+ +
+ 🏠 Back to Home +
+
+ + \ No newline at end of file diff --git a/src/not_found.njk b/src/not_found.njk index 9ba7f62e..0eed7a21 100644 --- a/src/not_found.njk +++ b/src/not_found.njk @@ -2,6 +2,8 @@ layout: misc/base title: Page Not Found h1: Page Not Found +eleventyExcludeFromCollections: true +permalink: /not_found.html ---

Oops! Either the page you are looking for does not exist, or it has been moved to a diffrent part of this site.