Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbep <bjorn.erik.pedersen@gmail.com>2015-03-11 01:17:39 +0300
committerbep <bjorn.erik.pedersen@gmail.com>2015-03-11 01:17:39 +0300
commitf85d1a7da25fb1d0d6491eabee2860058095fbec (patch)
tree92db8b7d15d49c1a4a3021929e3d6ec1e96a728e /parser/frontmatter.go
parentc641ffea3af2ab16c6449574ea865f2ef10a448e (diff)
parser: add some frontmatter test cases
Diffstat (limited to 'parser/frontmatter.go')
-rw-r--r--parser/frontmatter.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/parser/frontmatter.go b/parser/frontmatter.go
index 209786707..94bb60bb0 100644
--- a/parser/frontmatter.go
+++ b/parser/frontmatter.go
@@ -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: