Use Meta instead of Fm
Anirudh Oppiliappan x@icyphox.sh
Wed, 04 Aug 2021 10:42:43 +0530
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
commands/build.go
→
commands/build.go
@@ -73,7 +73,7 @@ htmlFile,
TEMPLATES, struct { Cfg config.ConfigYaml - Fm markdown.Matter + Meta markdown.Matter Body string }{config.Config, out.Meta, string(out.HTML)}, ); err != nil {@@ -126,7 +126,7 @@ htmlFile,
TEMPLATES, struct { Cfg config.ConfigYaml - Fm markdown.Matter + Meta markdown.Matter Body string }{config.Config, out.Meta, string(out.HTML)}, ); err != nil {@@ -156,7 +156,7 @@ out.RenderMarkdown(indexMd)
out.RenderHTML(indexHTML, TEMPLATES, struct { Cfg config.ConfigYaml - Fm markdown.Matter + Meta markdown.Matter Body string Posts []markdown.Output }{config.Config, out.Meta, string(out.HTML), posts})