Forgot that pages don't use the inline html anymore. Fixed parsing of the base template

jocadbz
Joca 2026-02-23 20:24:48 -03:00
parent 1c88b1f138
commit d6fe1544e0
Signed by: jocadbz
GPG Key ID: B1836DCE2F50BDF7
1 changed files with 2 additions and 1 deletions

View File

@ -356,8 +356,9 @@ func main() {
log.Fatal("Error getting working directory:", err)
}
// Parse partial templates
// Parse base and partial templates
tmpl := template.Must(template.ParseFiles(
filepath.Join(dir, "templates/base.html"),
filepath.Join(dir, "templates/partials/navbar.html"),
filepath.Join(dir, "templates/partials/cookie_banner.html"),
))