aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/404.html
diff options
context:
space:
mode:
authoryingyu5658 <i@yingyu5658.me>2026-01-24 21:30:57 +0800
committeryingyu5658 <i@yingyu5658.me>2026-01-24 21:30:57 +0800
commit5cefd3bab010446d8d367004012dfa8b91cc063d (patch)
treed6af0cf7350efa0531b1460170f9d21a7a906b26 /layouts/404.html
parent3613c24ca29dad2fdb19bf02ae014140689c1286 (diff)
downloadblog-5cefd3bab010446d8d367004012dfa8b91cc063d.tar.gz
blog-5cefd3bab010446d8d367004012dfa8b91cc063d.zip
chore: update 404 page
Diffstat (limited to 'layouts/404.html')
-rw-r--r--layouts/404.html29
1 files changed, 27 insertions, 2 deletions
diff --git a/layouts/404.html b/layouts/404.html
index 9ebac53..76d46d9 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -1,4 +1,29 @@
{{ define "title" }}404{{ end }} {{ define "main" }}
-<h1>404</h1>
-<p>你似乎来到了无人的岛屿。</p>
+<style>
+footer{display:none}
+.not-found {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ height: 100vh;
+}
+
+.not-found * {
+ margin: 2rem;
+ line-height: 0;
+ }
+
+ h1 {
+ padding-bottom: 0.45em;
+ font-size: 5rem;
+ }
+
+</style>
+<div class="not-found">
+ <h1>🏝️</h1>
+ <h3>OHHHHH~
+ </h3>
+ <h3>Who lives in a pineapple under the sea?</h3>
+</div>
{{ end }}