summaryrefslogtreecommitdiff
path: root/view/templates.go
blob: 7b51860819365855b751869720764020cf68c60a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package view

import (
	"embed"
	"html/template"
)

//go:embed html/*.html
var htmlFS embed.FS

var html *template.Template

func init() {
	html = template.Must(template.New("html").ParseFS(htmlFS, "html/*.html"))
}