wrap example in div
This commit is contained in:
parent
5dba9d0167
commit
72c171709e
1 changed files with 3 additions and 1 deletions
|
|
@ -18,8 +18,10 @@ var PartialsSnippet = `func CurrentTimePartial(ctx *h.RequestContext) *h.Partial
|
|||
|
||||
var examplePageSnippet = `func CurrentTimePage(ctx *h.RequestContext) *h.Page {
|
||||
return RootPage(
|
||||
h.Div(
|
||||
h.GetPartial(partials.CurrentTimePartial, "load, every 1s")
|
||||
)
|
||||
)
|
||||
}`
|
||||
|
||||
var examplePartialSnippet = `func CurrentTimePartial(ctx *h.RequestContext) *h.Partial {
|
||||
|
|
|
|||
Loading…
Reference in a new issue