control/info: Setup template inheritance
This commit is contained in:
parent
e5cd57cb7d
commit
dd7be3f520
12 changed files with 768 additions and 758 deletions
|
|
@ -51,7 +51,7 @@ func (home *Home) updateRender(ctx context.Context, io stream.IOStream) {
|
|||
|
||||
//go:embed "home.html"
|
||||
var homeHTMLStr string
|
||||
var homeTemplate = static.AssetsHomeHome.MustParse(homeHTMLStr)
|
||||
var homeTemplate = static.AssetsHomeHome.MustParse(nil, homeHTMLStr)
|
||||
|
||||
func (home *Home) homeRender() ([]byte, error) {
|
||||
var context HomeContext
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue