Minor fixes.
h3rald h3rald@h3rald.com
Sat, 15 Jul 2017 22:24:46 +0200
2 files changed,
3 insertions(+),
2 deletions(-)
M
hastysite.nim
→
hastysite.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)