diff options
| author | verdant <im@verdant.ee> | 2026-05-31 16:36:13 +0800 |
|---|---|---|
| committer | verdant <im@verdant.ee> | 2026-05-31 16:36:13 +0800 |
| commit | d91f48c4945acd1b9f76a79d7804580b70b0c2df (patch) | |
| tree | 6844217a5b61d31d6d2a837fb708db411825bc5c /layouts/404.html | |
| parent | 7876c3763897092266e535cd464d45637862d73b (diff) | |
| download | blog-d91f48c4945acd1b9f76a79d7804580b70b0c2df.tar.gz blog-d91f48c4945acd1b9f76a79d7804580b70b0c2df.zip | |
Refactor: remove bloated CSS style and nested HTML layouts
Diffstat (limited to 'layouts/404.html')
| -rw-r--r-- | layouts/404.html | 37 |
1 files changed, 7 insertions, 30 deletions
diff --git a/layouts/404.html b/layouts/404.html index 1fac202..bdb53c6 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,33 +1,10 @@ -{{ define "title" }} -404 -{{ end }} - +{{ define "title" }}404 Not Found{{ end }} {{ define "main" }} -<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"> +<main class=not-found> <h1>🏝️</h1> - <h3>OHHHHH~ - </h3> - <h3>Who lives in a pineapple under the sea?</h3> -</div> + <p><b>404 - NOT FOUND</b></p> + <p>OHHHHH~</p> + <p>Who lives in a pineapple under the sea?</p> + <p><a href={{ "" | relURL }}>Back to home</a></p> +</main> {{ end }} |
