mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-20 07:13:06 +00: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…
Add table
Reference in a new issue