mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 10:22:10 -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) {
|
func DetectFrontMatter(mark rune) (f *frontmatterType) {
|
||||||
switch mark {
|
switch mark {
|
||||||
case '-':
|
case '-':
|
||||||
|
|
Loading…
Reference in a new issue