aboutsummaryrefslogtreecommitdiffstats
path: root/web/web.go
blob: eb955fe3644e53681250439f4e25fa4b20eccf87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package web

import (
	"embed"
	"html/template"
)

//go:embed *
var files embed.FS

func Index() *template.Template {
	return template.Must(template.ParseFS(files, "index.html"))
}