1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-03-24 11:12:41 +00:00

Update frontmatter.go

This commit is contained in:
Henrique Dias 2016-07-13 22:53:06 +01:00 committed by Bjørn Erik Pedersen
parent 0a812beb12
commit af34613f75

View file

@ -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 '-':