Set URL after loading database
This commit is contained in:
1 parent
0bab92db02
commit
beef4523c2
4 files changed
+91
-41
No files matched your search
@@ -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