diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1,5 +1,21 @@ package main +import ( + "embed" + "github.com/anhgelus/golatt" +) + +//go:embed templates +var templates embed.FS + func main() { + g := golatt.New(templates) + g.DefaultSeoData = &golatt.SeoData{ + Image: "", + Description: "", + Domain: "now.anhgelus.world", + } + g.Templates = append(g.Templates, "templates/page/*.gohtml") + g.StartServer(":80") } |
