core/ui: fix page title (#4957)

* core/ui: fix page title

* cache template
This commit is contained in:
Caleb Doxsey 2024-02-12 14:05:18 -07:00 committed by GitHub
parent 76862c2fe8
commit c6d1f17100
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 56 additions and 31 deletions

View file

@ -7,10 +7,8 @@ import (
"io/fs"
)
var (
// ExtUIFS must be set to provide access to UI dist/ files
ExtUIFS fs.FS
)
// ExtUIFS must be set to provide access to UI dist/ files
var ExtUIFS fs.FS
func openFile(name string) (f fs.File, etag string, err error) {
if ExtUIFS == nil {