mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Update frontmatter.go
This commit is contained in:
parent
0a812beb12
commit
af34613f75
1 changed files with 1 additions and 0 deletions
|
@ -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 '-':
|
||||
|
|
Loading…
Reference in a new issue