control/info: Setup template inheritance

This commit is contained in:
Tom Wiesing 2022-10-19 19:39:04 +02:00
parent e5cd57cb7d
commit dd7be3f520
No known key found for this signature in database
12 changed files with 768 additions and 758 deletions

View file

@ -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