diff --git a/web/index.go b/web/index.go index 683f6a58..ef145b42 100644 --- a/web/index.go +++ b/web/index.go @@ -1,19 +1,7 @@ package web -// IndexTmpl html template for the start page -const IndexTmpl = ` - -
-Version {{.Version}} Build time {{.BuildTime}}
- - ` +// IndexTmpl html template for the start page +//go:embed index.html +var IndexTmpl string diff --git a/web/index.html b/web/index.html new file mode 100644 index 00000000..aeeaa4b2 --- /dev/null +++ b/web/index.html @@ -0,0 +1,16 @@ + + + +Version {{.Version}} Build time {{.BuildTime}}
+ + \ No newline at end of file