blob: 0dc8b7f5a29d89ec27cbae71f31db41e8b7e15b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package web
import (
"github.com/a-h/templ"
)
func Base(title string, body templ.Component) templ.Component {
return base(title, body, nil)
}
func BaseWithOGTags(title string, body templ.Component, ogTags map[string]string) templ.Component {
return base(title, body, ogTags)
}
func Index() templ.Component {
return index()
}
func ErrorPage(msg string) templ.Component {
return errorPage(msg)
}
func Bench() templ.Component {
return bench()
}
|