aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/html/notfound.go
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.net>2025-07-17 22:36:19 +0100
committerLeonardo Bishop <me@leonardobishop.net>2025-07-17 22:36:19 +0100
commite1f6b6b8f3465b4819364efc497fea6d9ddad67e (patch)
tree47bfd55b69d7d2668e7193fbef2c4e7badd1fb1d /pkg/html/notfound.go
parent4b58544300847e5faf19be5baa4eb177a86b2b0f (diff)
Implement disabled flag
Diffstat (limited to 'pkg/html/notfound.go')
-rw-r--r--pkg/html/notfound.go25
1 files changed, 0 insertions, 25 deletions
diff --git a/pkg/html/notfound.go b/pkg/html/notfound.go
deleted file mode 100644
index ceb521f..0000000
--- a/pkg/html/notfound.go
+++ /dev/null
@@ -1,25 +0,0 @@
-package html
-
-import (
- "fmt"
-
- . "github.com/LMBishop/scrapbook/web/skeleton"
- . "maragu.dev/gomponents"
- . "maragu.dev/gomponents/html"
-)
-
-func NotFoundUrlPage(url, host string) Node {
- return Page("Page not found",
- H1(Text("Page not found")),
-
- P(Text(fmt.Sprintf("The URL %s could not be found on site %s", url, host))),
- )
-}
-
-func NotFoundSitePage(host string) Node {
- return Page("Site not found",
- H1(Text("Site not found")),
-
- P(Text(fmt.Sprintf("The site %s is unknown", host))),
- )
-}