From d38fc83df3824b840f0b3930e4cb7236bdab84b2 Mon Sep 17 00:00:00 2001 From: a73x Date: Tue, 27 Aug 2024 19:43:56 +0100 Subject: feat(content): support templating in content this is tired person code don't write tired person code --- embed.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'embed.go') 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 -- cgit v1.2.3