From 892858567f0b5bc8719801bacd1e81d4334c2c7e Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Sat, 9 Nov 2024 22:49:17 +0100 Subject: feat(style): simple card --- main.go | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 50bc462..e05c422 100644 --- a/main.go +++ b/main.go @@ -55,5 +55,15 @@ func main() { } g.Templates = append(g.Templates, "templates/base/*.gohtml") - //g.StartServer(":80") + t := golatt.Template{ + Golatt: g, + Name: "index", + Title: data.Person.Name, + Data: &data, + URL: "/", + } + + g.HandleFunc("/", t.Handle()) + + g.StartServer(":8000") } -- cgit v1.2.3