feat(style): simple card

This commit is contained in:
Anhgelus Morhtuuzh 2024-11-09 22:49:17 +01:00
parent f616d8f24e
commit 892858567f
No known key found for this signature in database
GPG key ID: CAD341EFA92DDDE5
8 changed files with 235 additions and 9 deletions

12
main.go
View file

@ -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")
}