|
| 1 | +<!doctype html> |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | +<html |
| 36 | + class="not-ready lg:text-base" |
| 37 | + style="--bg: #faf8f1" |
| 38 | + lang="en-us" |
| 39 | + dir="ltr" |
| 40 | +> |
| 41 | + <head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script> |
| 42 | + <meta charset="utf-8" /> |
| 43 | + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| 44 | + <meta |
| 45 | + name="viewport" |
| 46 | + content="width=device-width, initial-scale=1, shrink-to-fit=no" |
| 47 | + /> |
| 48 | + |
| 49 | + |
| 50 | + <title>404 Page not found - My New Hugo Site</title> |
| 51 | + |
| 52 | + |
| 53 | + <meta name="theme-color" /> |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + <meta |
| 61 | + name="description" |
| 62 | + content="A personal blog" |
| 63 | + /> |
| 64 | + <meta name="author" content="My New Hugo Site" /> |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + <link rel="preload stylesheet" as="style" href="http://localhost:1313/main.min.css" /> |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + <link rel="preload" as="image" href="http://localhost:1313/theme.png" /> |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + <link |
| 101 | + rel="icon" |
| 102 | + href="http://localhost:1313/favicon.ico" |
| 103 | + /> |
| 104 | + <link |
| 105 | + rel="apple-touch-icon" |
| 106 | + href="http://localhost:1313/apple-touch-icon.png" |
| 107 | + /> |
| 108 | + |
| 109 | + |
| 110 | + <meta name="generator" content="Hugo 0.144.2"> |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | +</head> |
| 116 | + |
| 117 | + <body class="text-black duration-200 ease-out dark:text-white"> |
| 118 | + <header class="mx-auto flex h-[4.5rem] max-w-[--w] px-8 lg:justify-center"> |
| 119 | + <div class="relative z-50 ltr:mr-auto rtl:ml-auto flex items-center"> |
| 120 | + <a class="-translate-y-[1px] text-2xl font-medium" href="http://localhost:1313/" |
| 121 | + >My New Hugo Site</a |
| 122 | + > |
| 123 | + <div |
| 124 | + class="btn-dark text-[0] ltr:ml-4 rtl:mr-4 h-6 w-6 shrink-0 cursor-pointer [background:url(./theme.png)_left_center/_auto_theme('spacing.6')_no-repeat] [transition:_background-position_0.4s_steps(5)] dark:[background-position:right]" |
| 125 | + role="button" |
| 126 | + aria-label="Dark" |
| 127 | + ></div> |
| 128 | + </div> |
| 129 | + |
| 130 | + <div |
| 131 | + class="btn-menu relative z-50 ltr:-mr-8 rtl:-ml-8 flex h-[4.5rem] w-[5rem] shrink-0 cursor-pointer flex-col items-center justify-center gap-2.5 lg:hidden" |
| 132 | + role="button" |
| 133 | + aria-label="Menu" |
| 134 | + ></div> |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + <script> |
| 139 | + |
| 140 | + const htmlClass = document.documentElement.classList; |
| 141 | + setTimeout(() => { |
| 142 | + htmlClass.remove('not-ready'); |
| 143 | + }, 10); |
| 144 | + |
| 145 | + |
| 146 | + const btnMenu = document.querySelector('.btn-menu'); |
| 147 | + btnMenu.addEventListener('click', () => { |
| 148 | + htmlClass.toggle('open'); |
| 149 | + }); |
| 150 | + |
| 151 | + |
| 152 | + const metaTheme = document.querySelector('meta[name="theme-color"]'); |
| 153 | + const lightBg = '#faf8f1'.replace(/"/g, ''); |
| 154 | + const setDark = (isDark) => { |
| 155 | + metaTheme.setAttribute('content', isDark ? '#000' : lightBg); |
| 156 | + htmlClass[isDark ? 'add' : 'remove']('dark'); |
| 157 | + localStorage.setItem('dark', isDark); |
| 158 | + }; |
| 159 | + |
| 160 | + |
| 161 | + const darkScheme = window.matchMedia('(prefers-color-scheme: dark)'); |
| 162 | + if (htmlClass.contains('dark')) { |
| 163 | + setDark(true); |
| 164 | + } else { |
| 165 | + const darkVal = localStorage.getItem('dark'); |
| 166 | + setDark(darkVal ? darkVal === 'true' : darkScheme.matches); |
| 167 | + } |
| 168 | + |
| 169 | + |
| 170 | + darkScheme.addEventListener('change', (event) => { |
| 171 | + setDark(event.matches); |
| 172 | + }); |
| 173 | + |
| 174 | + |
| 175 | + const btnDark = document.querySelector('.btn-dark'); |
| 176 | + btnDark.addEventListener('click', () => { |
| 177 | + setDark(localStorage.getItem('dark') !== 'true'); |
| 178 | + }); |
| 179 | + </script> |
| 180 | + |
| 181 | + <div |
| 182 | + class="nav-wrapper fixed inset-x-0 top-full z-40 flex h-full select-none flex-col justify-center pb-16 duration-200 dark:bg-black lg:static lg:h-auto lg:flex-row lg:!bg-transparent lg:pb-0 lg:transition-none" |
| 183 | + > |
| 184 | + |
| 185 | + |
| 186 | + |
| 187 | + |
| 188 | + </div> |
| 189 | +</header> |
| 190 | + |
| 191 | + |
| 192 | + <main |
| 193 | + class="prose prose-neutral relative mx-auto min-h-[calc(100vh-9rem)] max-w-[--w] px-8 pb-16 pt-14 dark:prose-invert" |
| 194 | + > |
| 195 | + |
| 196 | +<h1 |
| 197 | + class="absolute inset-x-8 bottom-20 top-0 flex items-center justify-center text-9xl" |
| 198 | +> |
| 199 | + 404 |
| 200 | +</h1> |
| 201 | + |
| 202 | + </main> |
| 203 | + |
| 204 | + <footer |
| 205 | + class="mx-auto flex h-[4.5rem] max-w-[--w] items-center px-8 text-xs uppercase tracking-wider opacity-60" |
| 206 | +> |
| 207 | + <div class="mr-auto"> |
| 208 | + |
| 209 | + © 2025 |
| 210 | + <a class="link" href="http://localhost:1313/">My New Hugo Site</a> |
| 211 | + |
| 212 | + </div> |
| 213 | + <a class="link mx-6" href="https://gohugo.io/" rel="noopener" target="_blank" |
| 214 | + >powered by hugo️️</a |
| 215 | + >️ |
| 216 | + <a |
| 217 | + class="link" |
| 218 | + href="https://github.com/nanxiaobei/hugo-paper" |
| 219 | + rel="noopener" |
| 220 | + target="_blank" |
| 221 | + >hugo-paper</a |
| 222 | + > |
| 223 | +</footer> |
| 224 | + |
| 225 | + </body> |
| 226 | +</html> |
0 commit comments