* scripting enhancements * tests * cleanup / tests * new docs wip * add more docs * more updates * add caching docs * add sse docs * more docs * sidebar, and fix navigation blocks * remove old docs * set proper meta * fixes
16 lines
275 B
Go
16 lines
275 B
Go
package pages
|
|
|
|
import (
|
|
"github.com/maddalax/htmgo/framework/h"
|
|
"htmgo-site/pages/base"
|
|
"htmgo-site/partials"
|
|
)
|
|
|
|
func CurrentTimePage(ctx *h.RequestContext) *h.Page {
|
|
return base.RootPage(
|
|
ctx,
|
|
h.GetPartial(
|
|
partials.CurrentTimePartial,
|
|
"load, every 1s"),
|
|
)
|
|
}
|