summaryrefslogtreecommitdiff
path: root/embed.go
diff options
context:
space:
mode:
authora73x <[email protected]>2024-08-25 15:14:42 +0100
committera73x <[email protected]>2024-08-25 15:14:42 +0100
commit1b496432df1dc28b25eaeadec5fa537aaf014f98 (patch)
tree5d74e20a338c6487302693bc837afc27904ee3ab /embed.go
parentfea0ef77c8c98dfadd2f9d29804653293fd31c99 (diff)
feat(post): templating
add templating for posts and first post
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 182ede2..c111372 100644
--- a/embed.go
+++ b/embed.go
@@ -3,5 +3,7 @@ package home
import "embed"
//go:embed public/static/*.woff2
-//go:embed public/*.html
+//go:embed templates/*.html
+//go:embed templates/layouts/*.html
+//go:embed posts/*.md
var Content embed.FS