diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-09 22:49:17 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-09 22:49:17 +0100 |
| commit | 892858567f0b5bc8719801bacd1e81d4334c2c7e (patch) | |
| tree | f34d01b0ee1d27461f7f130fb287fe7a21c69619 /main.go | |
| parent | f616d8f24e96c3f400d47a9f0ecc2af70d4694d4 (diff) | |
feat(style): simple card
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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") } |
