all repos — hastysite @ 8dc8752bfe3f5ff5addc189ddd5064676bf2b066

A high-performance static site generator.

Minor fixes.
h3rald h3rald@h3rald.com
Sat, 15 Jul 2017 22:24:46 +0200
commit

8dc8752bfe3f5ff5addc189ddd5064676bf2b066

parent

31601e736691712a45665a93c1d0e38a3df8fc04

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

jump to
M .gitignore.gitignore

@@ -1,3 +1,4 @@

nimcache/ hastysite packages/ +hastysite.exe
M hastysite.nimhastysite.nim

@@ -270,7 +270,7 @@ outfile.parentDir.createDir

copyFileWithPermissions(infile, outfile) def.symbol("mustache") do (i: In): - var vals = i.expect(["dict", "str"]) + var vals = i.expect(["dict", "string"]) let c = vals[0] let t = vals[1] let ctx = newContext(%c)

@@ -279,7 +279,7 @@ let tpl = readFile(hs.dirs.templates/tplname)

i.push tpl.render(ctx, hs.dirs.templates).newval def.symbol("markdown") do (i: In): - var vals = i.expect(["dict", "str"]) + var vals = i.expect(["dict", "string"]) let c = vals[0] let t = vals[1] let options = HastyOptions(toc: false, output: nil, css: nil, watermark: nil, fragment: true)