diff --git a/main.go b/main.go index 44abea7..5d1544b 100644 --- a/main.go +++ b/main.go @@ -105,31 +105,7 @@ func main() { } }) - mux.HandleFunc("GET /automation", func(w http.ResponseWriter, r *http.Request) { - tmpl, err := template.ParseFS(staticRoot, "templates/main.html", "pages/automation.html") - if err != nil { - log.Println("parse error:", err) - http.Error(w, err.Error(), http.StatusInternalServerError) - return - } - - data := struct { - Title string - Sub bool - }{ - Title: "automation", - Sub: true, - } - - w.Header().Set("Content-Type", "text/html; charset=utf-8") - // execute the base file by name — main.html is the entrypoint - if err := tmpl.ExecuteTemplate(w, "main.html", data); err != nil { - log.Println("execute error:", err) - http.Error(w, err.Error(), http.StatusInternalServerError) - } - }) - - mux.HandleFunc("GET /interests", func(w http.ResponseWriter, r *http.Request) { + mux.HandleFunc("GET /personal", func(w http.ResponseWriter, r *http.Request) { tmpl, err := template.ParseFS(staticRoot, "templates/main.html", "pages/interests.html") if err != nil { log.Println("parse error:", err) @@ -141,7 +117,7 @@ func main() { Title string Sub bool }{ - Title: "interests", + Title: "personal", Sub: true, } diff --git a/source/pages/bookkeeping.html b/source/pages/bookkeeping.html index 654a133..8bc210b 100644 --- a/source/pages/bookkeeping.html +++ b/source/pages/bookkeeping.html @@ -27,7 +27,7 @@ {{define "body"}}
-

bookkeeping · 2026

+

Bookkeeping · 2026

Administration
infrastructure

diff --git a/source/pages/index.html b/source/pages/index.html index 2daccf7..f519171 100644 --- a/source/pages/index.html +++ b/source/pages/index.html @@ -14,7 +14,7 @@

@@ -128,7 +128,7 @@

interests

-