We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dba9d0 commit 72c1717Copy full SHA for 72c1717
htmgo-site/pages/docs/core-concepts/partials.go
@@ -18,7 +18,9 @@ var PartialsSnippet = `func CurrentTimePartial(ctx *h.RequestContext) *h.Partial
18
19
var examplePageSnippet = `func CurrentTimePage(ctx *h.RequestContext) *h.Page {
20
return RootPage(
21
- h.GetPartial(partials.CurrentTimePartial, "load, every 1s")
+ h.Div(
22
+ h.GetPartial(partials.CurrentTimePartial, "load, every 1s")
23
+ )
24
)
25
}`
26
0 commit comments