all repos — hastysite @ bb73f7ce3f32866aca8e3fe2891c8305303f0ae5

A high-performance static site generator.

Fixes #3
h3rald h3rald@h3rald.com
Sat, 31 Oct 2020 23:08:21 +0100
commit

bb73f7ce3f32866aca8e3fe2891c8305303f0ae5

parent

df458472eb15aaec1cce2b154ca05dfd8f73b0e2

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

jump to
M hastysite.nimhastysite.nim

@@ -57,7 +57,7 @@ const TEMPLATE_HEADER = "./site/templates/_header.mustache".slurp

const TEMPLATE_FOOTER = "./site/templates/_footer.mustache".slurp const TEMPLATE_NEWS = "./site/templates/news.mustache".slurp const TEMPLATE_PAGE = "./site/templates/page.mustache".slurp -const TEMPLATE_post = "./site/templates/post.mustache".slurp +const TEMPLATE_POST = "./site/templates/post.mustache".slurp const FONT_SCP_R = "./site/assets/fonts/SourceCodePro-Regular.woff".slurp const FONT_SCP_I = "./site/assets/fonts/SourceCodePro-It.woff".slurp const FONT_SCP_B = "./site/assets/fonts/SourceCodePro-Bold.woff".slurp

@@ -280,7 +280,7 @@ writeFile(dir/"settings.json", json.pretty)

writeFile(dir/"scripts/build.min", SCRIPT_BUILD) writeFile(dir/"scripts/clean.min", SCRIPT_CLEAN) writeFile(dir/"scripts/page.min", SCRIPT_PAGE) - writeFile(dir/"scripts/clean.min", SCRIPT_POST) + writeFile(dir/"scripts/post.min", SCRIPT_POST) writeFile(dir/"templates/_head.mustache", TEMPLATE_HEAD) writeFile(dir/"templates/_header.mustache", TEMPLATE_HEADER) writeFile(dir/"templates/_footer.mustache", TEMPLATE_FOOTER)