aboutsummaryrefslogtreecommitdiffstats
path: root/web/command/html/error.go
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.net>2025-07-17 21:52:26 +0100
committerLeonardo Bishop <me@leonardobishop.net>2025-07-17 21:52:26 +0100
commit4b58544300847e5faf19be5baa4eb177a86b2b0f (patch)
tree60c43bfe7ec7c1cd46a12db73946aad03ebff01f /web/command/html/error.go
parentd6a028feb7e7c3657f846889a1c0edf9f22e8dd2 (diff)
Add automatic index
Diffstat (limited to 'web/command/html/error.go')
-rw-r--r--web/command/html/error.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/web/command/html/error.go b/web/command/html/error.go
index b39cc19..20b49f3 100644
--- a/web/command/html/error.go
+++ b/web/command/html/error.go
@@ -1,13 +1,14 @@
package html
import (
+ . "github.com/LMBishop/scrapbook/web/skeleton"
. "maragu.dev/gomponents"
)
func ErrorPage(err string) Node {
- return page("Error",
- alertError(err),
+ return Page("Error",
+ AlertError(err),
- navButton("Home", "/"),
+ NavButton("Home", "/"),
)
}