From d6fe1544e09fc316361d3395916c7897ef7349ad Mon Sep 17 00:00:00 2001 From: Jocadbz Date: Mon, 23 Feb 2026 20:24:48 -0300 Subject: [PATCH] Forgot that pages don't use the inline html anymore. Fixed parsing of the base template --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"), ))