temp changes

This commit is contained in:
2025-03-09 17:51:32 -04:00
parent 5d8b57c513
commit e3731b255f

View File

@@ -12,18 +12,18 @@ func RootLayout(title string, children ...Node) Node {
// automatically invalidates cached css when file hash changes
css_hash, err := security.QuickFileHash("./wwwroot/css/style.css")
if err != nil {
return Text("Error hashing style.css")
return Text(err.Error())
}
metagen_css_hash, err := security.QuickFileHash("./wwwroot/css/style.metagen.css")
if err != nil {
return Text("Error hashing style.css")
return Text(err.Error())
}
// automatically invalidates cached js when file hash changes
js_hash, err := security.QuickFileHash("./wwwroot/js/index.js")
if err != nil {
return Text("Error hashing index.js")
return Text(err.Error())
}
return Doctype(