diff --git a/src/404.njk b/src/404.njk index d530f7b3..8844d990 100644 --- a/src/404.njk +++ b/src/404.njk @@ -1,13 +1,5 @@ --- -layout: misc/base -title: "404: Page Not Found" -h1: "404: Page Not Found" -eleventyExcludeFromCollections: true permalink: /404.html --- -

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 +{% include "misc/404.njk" %} \ No newline at end of file diff --git a/src/_includes/misc/404.njk b/src/_includes/misc/404.njk new file mode 100644 index 00000000..493fdc8b --- /dev/null +++ b/src/_includes/misc/404.njk @@ -0,0 +1,12 @@ +--- +layout: misc/base +title: "404: Page Not Found" +h1: "404: Page Not Found" +eleventyExcludeFromCollections: true +--- + +

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 new file mode 100644 index 00000000..93756233 --- /dev/null +++ b/src/not_found.njk @@ -0,0 +1,5 @@ +--- +permalink: /not_found.html +--- + +{% include "misc/404.njk" %} \ No newline at end of file