aboutsummaryrefslogtreecommitdiff
path: root/main.go
blob: eb55d06f5eb0f35caa1eb23baa5368c865e25796 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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")
}