mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-04 13:52:42 +00:00
Recreate Not Found page for Neocities
This commit is contained in:
parent
e8a6dcd554
commit
dbff59d42e
10
src/404.njk
10
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
|
||||
---
|
||||
|
||||
<p>Oops! Either the page you are looking for does not exist, or it has been moved to a diffrent part of this site.</p>
|
||||
|
||||
<section class="index__btn-wrapper">
|
||||
<a href="/" class="index__link">🏠 Back to Home</a>
|
||||
</section>
|
||||
{% include "misc/404.njk" %}
|
12
src/_includes/misc/404.njk
Normal file
12
src/_includes/misc/404.njk
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
layout: misc/base
|
||||
title: "404: Page Not Found"
|
||||
h1: "404: Page Not Found"
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
|
||||
<p>Oops! Either the page you are looking for does not exist, or it has been moved to a diffrent part of this site.</p>
|
||||
|
||||
<section class="index__btn-wrapper">
|
||||
<a href="/" class="index__link">🏠 Back to Home</a>
|
||||
</section>
|
5
src/not_found.njk
Normal file
5
src/not_found.njk
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
permalink: /not_found.html
|
||||
---
|
||||
|
||||
{% include "misc/404.njk" %}
|
Loading…
x
Reference in New Issue
Block a user