1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

parser: add some frontmatter test cases

This commit is contained in:
bep
2015-03-10 23:17:39 +01:00
parent c641ffea3a
commit f85d1a7da2
2 changed files with 25 additions and 2 deletions

View File

@@ -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: