mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
parser: add some frontmatter test cases
This commit is contained in:
@@ -128,8 +128,6 @@ func FormatToLeadRune(kind string) rune {
|
||||
switch FormatSanitize(kind) {
|
||||
case "yaml":
|
||||
return rune([]byte(YAML_LEAD)[0])
|
||||
case "toml":
|
||||
return rune([]byte(TOML_LEAD)[0])
|
||||
case "json":
|
||||
return rune([]byte(JSON_LEAD)[0])
|
||||
default:
|
||||
|
Reference in New Issue
Block a user