From: Henrique Dias Date: Wed, 13 Jul 2016 21:53:06 +0000 (+0100) Subject: Update frontmatter.go X-Git-Tag: v0.17~238 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=af34613f757f5f99547759f84f77449aaa091a54;p=brevno-suite%2Fhugo Update frontmatter.go --- diff --git a/parser/frontmatter.go b/parser/frontmatter.go index b185526d..40418e68 100644 --- 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 '-':