Rework frontend asset structure
This commit is contained in:
parent
11f7749c1d
commit
bc0e92bdac
50 changed files with 93 additions and 70 deletions
|
|
@ -27,7 +27,7 @@ func (home *Home) instanceMap(ctx context.Context) (map[string]struct{}, error)
|
|||
|
||||
//go:embed "home.html"
|
||||
var homeHTMLStr string
|
||||
var homeTemplate = static.AssetsHomeHome.MustParseShared("home.html", homeHTMLStr)
|
||||
var homeTemplate = static.AssetsHome.MustParseShared("home.html", homeHTMLStr)
|
||||
|
||||
func (home *Home) homeRender(ctx context.Context) ([]byte, error) {
|
||||
var context HomeContext
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue