mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
Update frontmatter.go
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
0a812beb12
commit
af34613f75
@ -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 '-':
|
||||||
|
Reference in New Issue
Block a user