Fixed incorrect content processing.
h3rald h3rald@h3rald.com
Sun, 20 Nov 2016 19:52:56 +0100
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
hastysite.nim
→
hastysite.nim
@@ -161,12 +161,12 @@ result = ""
var delimiter = 0 while f.readLine(s): if delimiter >= 2: - result &= s + result &= s&"\n" else: if s.match(peg"'-' '-' '-' '-'*"): delimiter.inc else: - yaml &= "\n" & s + yaml &= s&"\n" if yaml == "": raise NoMetadataException(msg: "No metadata found in file: " & file) if not obj.hasKey("contents"):