mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 02:16:09 +00:00
Update frontmatter.go
This commit is contained in:
1 parent
0a812beb12
commit
af34613f75
1 file changed
+1
@@ -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