Updated to work with the latest hastysite.
h3rald h3rald@h3rald.com
Sun, 11 Jun 2017 22:20:37 +0200
19 files changed,
64 insertions(+),
49 deletions(-)
jump to
M
site/contents/about.md
→
site/contents/about.md
@@ -1,5 +1,5 @@
----- -content-type: page -title: About +content-type: "page" +title: "About" ----- Coming soon...
M
site/contents/download.md
→
site/contents/download.md
@@ -1,6 +1,6 @@
----- -content-type: page -title: Download +content-type: "page" +title: "Download" ----- You can download one of the following pre-built min binaries:
M
site/contents/home.md
→
site/contents/home.md
@@ -1,6 +1,6 @@
----- -content-type: page -title: Welcome to min +content-type: "page" +title: "Welcome to min" ----- <div class="note"> <p>Under Construction</p>
M
site/contents/learn.md
→
site/contents/learn.md
@@ -1,5 +1,5 @@
----- -content-type: page -title: Learn +content-type: "page" +title: "Learn" ----- -{@ _includes/_learn.md || 0 @}+{@ _includes/_learn.md || 0 @}
M
site/contents/reference-crypto.md
→
site/contents/reference-crypto.md
@@ -1,5 +1,5 @@
----- -content-type: page -title: crypto Module +content-type: "page" +title: "crypto Module" ----- -{@ _includes/_reference-crypto.md || 1 @}+{@ _includes/_reference-crypto.md || 1 @}
M
site/contents/reference-fs.md
→
site/contents/reference-fs.md
@@ -1,5 +1,5 @@
----- -content-type: page -title: fs Module +content-type: "page" +title: "fs Module" ----- -{@ _includes/_reference-fs.md || 1 @}+{@ _includes/_reference-fs.md || 1 @}
M
site/contents/reference-io.md
→
site/contents/reference-io.md
@@ -1,5 +1,5 @@
----- -content-type: page -title: io Module +content-type: "page" +title: "io Module" ----- -{@ _includes/_reference-io.md || 1 @}+{@ _includes/_reference-io.md || 1 @}
M
site/contents/reference-lang.md
→
site/contents/reference-lang.md
@@ -1,5 +1,5 @@
----- -content-type: page -title: lang Module +content-type: "page" +title: "lang Module" ----- -{@ _includes/_reference-lang.md || 1 @}+{@ _includes/_reference-lang.md || 1 @}
M
site/contents/reference-logic.md
→
site/contents/reference-logic.md
@@ -1,5 +1,5 @@
----- -content-type: page -title: logic Module +content-type: "page" +title: "logic Module" ----- -{@ _includes/_reference-logic.md || 1 @}+{@ _includes/_reference-logic.md || 1 @}
M
site/contents/reference-num.md
→
site/contents/reference-num.md
@@ -1,5 +1,5 @@
----- -content-type: page -title: num Module +content-type: "page" +title: "num Module" ----- -{@ _includes/_reference-num.md || 1 @}+{@ _includes/_reference-num.md || 1 @}
M
site/contents/reference-seq.md
→
site/contents/reference-seq.md
@@ -1,5 +1,5 @@
----- -content-type: page -title: seq Module +content-type: "page" +title: "seq Module" ----- -{@ _includes/_reference-seq.md || 1 @}+{@ _includes/_reference-seq.md || 1 @}
M
site/contents/reference-stack.md
→
site/contents/reference-stack.md
@@ -1,5 +1,5 @@
----- -content-type: page -title: stack Module +content-type: "page" +title: "stack Module" ----- -{@ _includes/_reference-stack.md || 1 @}+{@ _includes/_reference-stack.md || 1 @}
M
site/contents/reference-str.md
→
site/contents/reference-str.md
@@ -1,5 +1,5 @@
----- -content-type: page -title: str Module +content-type: "page" +title: "str Module" ----- -{@ _includes/_reference-str.md || 1 @}+{@ _includes/_reference-str.md || 1 @}
M
site/contents/reference-sys.md
→
site/contents/reference-sys.md
@@ -1,5 +1,5 @@
----- -content-type: page -title: sys Module +content-type: "page" +title: "sys Module" ----- -{@ _includes/_reference-sys.md || 1 @}+{@ _includes/_reference-sys.md || 1 @}
M
site/contents/reference-time.md
→
site/contents/reference-time.md
@@ -1,5 +1,5 @@
----- -content-type: page -title: time Module +content-type: "page" +title: "time Module" ----- -{@ _includes/_reference-time.md || 1 @}+{@ _includes/_reference-time.md || 1 @}
M
site/contents/reference.md
→
site/contents/reference.md
@@ -1,6 +1,6 @@
----- -content-type: page -title: Reference +content-type: "page" +title: "Reference" ----- -{@ _includes/_reference.md || 0 @}+{@ _includes/_reference.md || 0 @}
M
site/rules.min
→
site/rules.min
@@ -1,5 +1,4 @@
'hastysite import -'stack import ;Routing (@@ -51,11 +50,11 @@ ) case
) :process-content ;Main -modified ( +contents ( dup ( ((/id "^_includes" match) ()) ;Ignore files starting with underscore. - ((asset?) (copy2output)) - ((content?) (process-content set-destination output-fwrite)) + ((true) (process-content set-destination output-fwrite)) ) case ) foreach +assets (copy2output) foreach
A
site/scripts/build.min
@@ -0,0 +1,8 @@
+;Builds a site by processing contents and assets. +'hastysite import + +"Preprocessing..." notice +preprocess +"Processing rules.." notice +process-rules +"All done." notice
A
site/scripts/clean.min
@@ -0,0 +1,8 @@
+;Deletes all temporary and output files. +'hastysite import + +"Cleaning temporary folder..." notice +clean-temp +"Cleaning output folder..." notice +clean-output +"All done." notice