feat: add 404 error page layout and update topbar for 404 handling

This commit is contained in:
geekifan
2025-05-11 18:18:48 +08:00
parent f615f3bd8a
commit 5ca8472fb7
2 changed files with 7 additions and 1 deletions

6
layouts/404.html Normal file
View File

@ -0,0 +1,6 @@
{{ define "main" }}
<h1 class="dynamic-title">404: Page not found</h1>
<div class="content">
<blockquote class="prompt-danger"><p>{{ i18n "not_found.statement" }}</p></blockquote>
</div>
{{ end }}