diff options
Diffstat (limited to 'web/index.go')
| -rw-r--r-- | web/index.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/web/index.go b/web/index.go new file mode 100644 index 0000000..7057cc8 --- /dev/null +++ b/web/index.go @@ -0,0 +1,15 @@ +package web + +import "github.com/a-h/templ" + +func Base(title string, body templ.Component) templ.Component { + return base(title, body) +} + +func Index() templ.Component { + return index() +} + +func ErrorPage(msg string) templ.Component { + return errorPage(msg) +} |
