summaryrefslogtreecommitdiff
path: root/embed.go
diff options
context:
space:
mode:
authora73x <[email protected]>2024-08-27 19:43:56 +0100
committera73x <[email protected]>2024-08-27 20:23:18 +0100
commitd38fc83df3824b840f0b3930e4cb7236bdab84b2 (patch)
tree586a7f940291f933ef2a7e05b20dff21ded6d78a /embed.go
parentcffb105a9ff8ed5d7aa04e5f4097368f6be38b8e (diff)
feat(content): support templating in content
this is tired person code don't write tired person code
Diffstat (limited to 'embed.go')
-rw-r--r--embed.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/embed.go b/embed.go
index 006db50..e3e27c2 100644
--- a/embed.go
+++ b/embed.go
@@ -6,5 +6,7 @@ import "embed"
//go:embed public/static/*.woff2
//go:embed templates/*.html
//go:embed templates/layouts/*.html
-//go:embed posts/*.md
+//go:embed content/*.md
+//go:embed content/posts/*.md
+
var Content embed.FS