Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/parser
diff options
context:
space:
mode:
authorJoel Scoble <joel.scoble@outlook.com>2015-03-16 01:32:41 +0300
committerspf13 <steve.francia@gmail.com>2015-05-09 05:18:51 +0300
commitb4871787f02d6660da8bc82b951178dc3964d9a9 (patch)
treea58f58619e4d7b185d3f6752ba82fe1140761163 /parser
parent563a6302a0a27f1b8412d4ab621e336f83159727 (diff)
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