all repos — vite @ 55ee643427df6d011b2ed05ccc892301034ba437

a fast (this time, actually) and minimal static site generator

Use Meta instead of Fm
Anirudh Oppiliappan x@icyphox.sh
Wed, 04 Aug 2021 10:42:43 +0530
commit

55ee643427df6d011b2ed05ccc892301034ba437

parent

954e0c5196e36545c2fb8f9745d51660421d5b0d

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M commands/build.gocommands/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})