all repos — hastysite @ badd14af01d477e6d72c046dc2dde6f300f12299

A high-performance static site generator.

Releasing new version (upgraded min).
h3rald h3rald@h3rald.com
Sun, 12 Aug 2018 13:46:44 +0200
commit

badd14af01d477e6d72c046dc2dde6f300f12299

parent

d1a24fd13906a50d9d5c65e4579af0f62c3bf328

M HastySite_UserGuide.mdHastySite_UserGuide.md

@@ -28,10 +28,26 @@ {@ site/contents/reference.md || 1 @}

## Changelog +### v1.2.1 + +{@ site/contents/posts/v121-released.md || 1 @} + +### v1.2.0 + +{@ site/contents/posts/v120-released.md || 1 @} + +### v1.1.0 + +{@ site/contents/posts/v110-released.md || 1 @} + +### v1.0.1 + +{@ site/contents/posts/v101-released.md || 1 @} + ### v1.0.0 -{@ site/contents/posts/v010-released.md || 1 @} +{@ site/contents/posts/v100-released.md || 1 @} ### v0.1.0 -{@ site/contents/posts/v100-released.md || 1 @} +{@ site/contents/posts/v010-released.md || 1 @}
M hastysite.nimhastysite.nim

@@ -399,12 +399,9 @@ let c = vals[0]

let t = vals[1] let options = HastyOptions(toc: false, output: nil, css: nil, watermark: nil, fragment: true) var fields = initTable[string, proc():string]() - for item in c.qVal: - closureScope: - let key = item.qVal[0].getString - let val = $$item.qVal[1] - fields[key] = proc(): string = - return val + for key, v in c.dVal: + fields[key] = proc(): string = + return $$v.val var hastyscribe = newHastyScribe(options, fields) let file = t.getString() i.push hastyscribe.compileFragment(file, hs.dirs.contents).newVal
M hastysite.nimblehastysite.nimble

@@ -1,10 +1,10 @@

[Package] name = "hastysite" -version = "1.3.0" +version = "1.2.1" author = "Fabio Cevasco" description = "A small but powerful static site generator" license = "MIT" bin = "hastysite" [Deps] -requires: "nim >= 0.18.0" +requires: "nim >= 0.19.0"
M site/contents/getting-started.mdsite/contents/getting-started.md

@@ -4,7 +4,7 @@ title: "Getting Started"

content-type: page ----- -{{version => 1.2.0}} +{{version => 1.2.1}} ## Download
A site/contents/posts/v121-released.md

@@ -0,0 +1,9 @@

+----- +id: v121-released +title: "Version 1.2.1 released" +content-type: post +date: "12 August 2018" +timestamp: 1534073404 +----- + +* Upgraded to min v0.19.0.
D site/contents/posts/v130-released.md

@@ -1,9 +0,0 @@

------ -id: v130-released -title: "Version 1.3.0 released" -content-type: post -date: "15 July 2018" -timestamp: 1531665014 ------ - -* Upgraded min to v0.18.0.