aboutsummaryrefslogtreecommitdiff
path: root/templates/templates.go
diff options
context:
space:
mode:
Diffstat (limited to 'templates/templates.go')
-rw-r--r--templates/templates.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/templates.go b/templates/templates.go
index 40d229a..644eb3b 100644
--- a/templates/templates.go
+++ b/templates/templates.go
@@ -1,9 +1,11 @@
package templates
-import _ "embed"
+import _ "embed" // needed for go:embed
+// Index holds the contents of the index.html template.
//go:embed index.html
var Index string
+// Package holds the contents of the package.html template.
//go:embed package.html
var Package string