summaryrefslogtreecommitdiff
path: root/templ/template.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2024-10-03 22:34:48 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2024-10-03 22:34:48 +0200
commitb731258e18504ce41ba96ff890c96a385e7a3347 (patch)
tree5648765e92661fdf129a44c47e9f0295dd46b36d /templ/template.go
parent09fccc3599dc4f23a60c4bdbc77c2f4740e2ade4 (diff)
downloadgosten-b731258e18504ce41ba96ff890c96a385e7a3347.tar.gz
gosten-b731258e18504ce41ba96ff890c96a385e7a3347.tar.bz2
gosten-b731258e18504ce41ba96ff890c96a385e7a3347.zip
Overhaul navbar and general site setup
Diffstat (limited to '')
-rw-r--r--templ/template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/templ/template.go b/templ/template.go
index 9def1b8..f609bc4 100644
--- a/templ/template.go
+++ b/templ/template.go
@@ -32,7 +32,7 @@ func checkLive() bool {
func loadBase(fs fs.FS) {
baseTpl = template.Must(template.New("base.tpl").
Funcs(form.FuncMap()).
- ParseFS(fs, "base.tpl", "form.tpl"))
+ ParseFS(fs, "base.tpl", "form.tpl", "navlinks.tpl", "content.tpl"))
formBuilder = form.Builder{InputTemplate: baseTpl.Lookup("formItem")}
baseTpl.Funcs(formBuilder.FuncMap())
}