summaryrefslogtreecommitdiffhomepage
path: root/parser
diff options
context:
space:
mode:
authorJoel Scoble <[email protected]>2015-03-15 17:32:41 -0500
committerspf13 <[email protected]>2015-05-08 22:18:51 -0400
commitb4871787f02d6660da8bc82b951178dc3964d9a9 (patch)
treea58f58619e4d7b185d3f6752ba82fe1140761163 /parser
parent563a6302a0a27f1b8412d4ab621e336f83159727 (diff)
downloadhugo-b4871787f02d6660da8bc82b951178dc3964d9a9.tar.gz
hugo-b4871787f02d6660da8bc82b951178dc3964d9a9.zip
add undraft command
Diffstat (limited to 'parser')
-rw-r--r--parser/page.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser/page.go b/parser/page.go
index 65a62a566..77d40a602 100644
--- a/parser/page.go
+++ b/parser/page.go
@@ -30,8 +30,8 @@ var (
[]byte(JSON_LEAD),
}
- unixEnding = []byte("\n")
- dosEnding = []byte("\r\n")
+ UnixEnding = []byte("\n")
+ DosEnding = []byte("\r\n")
)
type FrontMatter []byte