Set URL after loading database
This commit is contained in:
@ -29,6 +29,7 @@ func hxTarget(target string) h.Attrib {
|
||||
|
||||
func HomePage() h.ParentElement {
|
||||
return e.Div()(
|
||||
e.H1()(h.Text("[untitled]")),
|
||||
e.Button(
|
||||
a.Type("button"),
|
||||
hxGet("/hello"),
|
||||
@ -38,3 +39,7 @@ func HomePage() h.ParentElement {
|
||||
e.Div(a.Id("hello"))(),
|
||||
)
|
||||
}
|
||||
|
||||
func Splash() h.Term {
|
||||
return h.Terms{}
|
||||
}
|
||||
|
Reference in New Issue
Block a user