summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authora73x <[email protected]>2024-08-27 20:29:39 +0100
committera73x <[email protected]>2024-08-27 20:29:39 +0100
commite4288632856f79952fc25b17ced4895a51f6aefd (patch)
tree44a00497ea561158a74eba62fba4c29ad91fb9e8 /templates
parentd38fc83df3824b840f0b3930e4cb7236bdab84b2 (diff)
chore(embed): refactor embed fs
Diffstat (limited to 'templates')
-rw-r--r--templates/embed.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/embed.go b/templates/embed.go
new file mode 100644
index 0000000..80f8511
--- /dev/null
+++ b/templates/embed.go
@@ -0,0 +1,7 @@
+package templates
+
+import "embed"
+
+//go:embed *.html
+//go:embed layouts/*.html
+var FS embed.FS