diff options
author | Henrique Dias <[email protected]> | 2016-07-13 22:53:06 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2016-07-13 23:53:06 +0200 |
commit | af34613f757f5f99547759f84f77449aaa091a54 (patch) | |
tree | f7581b489c11ba4f96c28d14d457cf5b154cc231 /parser/frontmatter.go | |
parent | 0a812beb120620ad2bdc8b1504bb7edf6eaac18a (diff) | |
download | hugo-af34613f757f5f99547759f84f77449aaa091a54.tar.gz hugo-af34613f757f5f99547759f84f77449aaa091a54.zip |
Update frontmatter.go
Diffstat (limited to 'parser/frontmatter.go')
-rw-r--r-- | parser/frontmatter.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parser/frontmatter.go b/parser/frontmatter.go index b185526d7..40418e684 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 '-': |