Update frontmatter.go - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit af34613f757f5f99547759f84f77449aaa091a54
DIR parent 0a812beb120620ad2bdc8b1504bb7edf6eaac18a
HTML Author: Henrique Dias <hacdias@gmail.com>
Date: Wed, 13 Jul 2016 22:53:06 +0100
Update frontmatter.go
Diffstat:
M parser/frontmatter.go | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/parser/frontmatter.go b/parser/frontmatter.go
@@ -149,6 +149,7 @@ func FormatSanitize(kind string) string {
}
}
+// DetectFrontMatter detects the type of frontmatter analysing its first character.
func DetectFrontMatter(mark rune) (f *frontmatterType) {
switch mark {
case '-':