all repos — hastysite @ 15cdb89a6d30e18182cbe989fa8b538caee0e61f

A high-performance static site generator.

Ensuring that settings symbol is an actual dictionary.
h3rald h3rald@h3rald.com
Wed, 20 May 2026 10:21:15 +0200
commit

15cdb89a6d30e18182cbe989fa8b538caee0e61f

parent

95a97ef3f809a66e25c16b8f7f403eaecb1c7cf1

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

jump to
M hastysite.nimhastysite.nim

@@ -336,9 +336,8 @@

def.symbol("clean-temp") do (i: In): hs.dirs.temp.removeDir - def.symbol("settings") do (i: In): - i.push i.fromJson(hs.settings) - + def.symbol("settings", i.fromJson(hs.settings)) + def.symbol("contents") do (i: In): var contents = newSeq[MinValue](0) debug("JSON Contents requested")