Fix Not Found permalink and exclude the page from collections

This commit is contained in:
Helen Chong 2024-04-21 14:11:03 +08:00
parent 2dc915e297
commit ea684aafec
3 changed files with 52 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<subtitle>Leilukin&#39;s personal website.</subtitle>
<link href="https://leilukin.neocities.org/feed.xml" rel="self"/>
<link href="https://leilukin.neocities.org"/>
<updated>2024-04-21T06:06:29Z</updated>
<updated>2024-04-21T06:10:25Z</updated>
<id>https://leilukin.neocities.org</id>
<author>
<name>Leilukin</name>

49
_site/not_found.html Normal file
View File

@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta property="og:title" content="Page Not Found">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="Eleventy v2.0.1">
<meta property="og:type" content="website">
<meta property="og:url" content="https://leilukin.neocities.org/not_found.html">
<meta property="og:site_name" content="Leilukin's Hub">
<meta property="og:locale" content="en_MY">
<meta name="twitter:card" content="summary">
<meta name="twitter:url" content="https://leilukin.neocities.org/not_found.html">
<link rel="canonical" href="https://leilukin.neocities.org/not_found.html">
<link rel="stylesheet" href="/assets/css/misc.css">
<link rel="stylesheet" href="/assets/fonts/noto-sans/noto-sans.css">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
<link rel="manifest" href="/assets/favicon/site.webmanifest">
<title> Page Not Found | Leilukin&#39;s Hub</title>
</head>
<body>
<main>
<img src="/assets/leilukin/Leilukins-Hub-website-banner.png" alt="Leilukin&#39;s Hub website banner">
<h1>Page Not Found</h1>
<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>
</main>
</body>
</html>

View File

@ -2,6 +2,8 @@
layout: misc/base
title: Page Not Found
h1: Page Not Found
eleventyExcludeFromCollections: true
permalink: /not_found.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>