diff options
| author | yingyu5658 <i@yingyu5658.me> | 2026-01-24 21:30:57 +0800 |
|---|---|---|
| committer | yingyu5658 <i@yingyu5658.me> | 2026-01-24 21:30:57 +0800 |
| commit | 5cefd3bab010446d8d367004012dfa8b91cc063d (patch) | |
| tree | d6af0cf7350efa0531b1460170f9d21a7a906b26 /layouts | |
| parent | 3613c24ca29dad2fdb19bf02ae014140689c1286 (diff) | |
| download | blog-5cefd3bab010446d8d367004012dfa8b91cc063d.tar.gz blog-5cefd3bab010446d8d367004012dfa8b91cc063d.zip | |
chore: update 404 page
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/404.html | 29 |
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 }} |
