diff --git a/main.go b/main.go index 6c738f2..affde63 100644 --- a/main.go +++ b/main.go @@ -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"), ))