mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
committed by
Bjørn Erik Pedersen
parent
c5723a8931
commit
16b71bbbb4
@@ -149,7 +149,7 @@ func FormatSanitize(kind string) string {
|
||||
}
|
||||
}
|
||||
|
||||
func detectFrontMatter(mark rune) (f *frontmatterType) {
|
||||
func DetectFrontMatter(mark rune) (f *frontmatterType) {
|
||||
switch mark {
|
||||
case '-':
|
||||
return &frontmatterType{[]byte(YAMLDelim), []byte(YAMLDelim), HandleYAMLMetaData, false}
|
||||
|
Reference in New Issue
Block a user