summaryrefslogtreecommitdiff
path: root/static/templates.go
diff options
context:
space:
mode:
Diffstat (limited to 'static/templates.go')
-rw-r--r--static/templates.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/static/templates.go b/static/templates.go
new file mode 100644
index 0000000..28a057a
--- /dev/null
+++ b/static/templates.go
@@ -0,0 +1,16 @@
+//go:build embed
+// +build embed
+
+package static
+
+import "embed"
+
+//go:embed *
+var Templates embed.FS
+var Enabled bool = true
+
+var StaticPath string
+
+func CopyTemplatesToMemory() {
+ _ = StaticPath
+}