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

fix tags not being in lowercase, #491

This commit is contained in:
Joel Scoble
2014-09-09 15:58:02 -05:00
committed by spf13
parent 012a473e27
commit 4e9b04086a
3 changed files with 43 additions and 9 deletions

View File

@@ -6,7 +6,7 @@ import (
)
var PAGE_YAML_WITH_TAXONOMIES_A = `---
tags: ['a', 'b', 'c']
tags: ['a', 'B', 'c']
categories: 'd'
---
YAML frontmatter with tags and categories taxonomy.`
@@ -14,20 +14,20 @@ YAML frontmatter with tags and categories taxonomy.`
var PAGE_YAML_WITH_TAXONOMIES_B = `---
tags:
- "a"
- "b"
- "B"
- "c"
categories: 'd'
---
YAML frontmatter with tags and categories taxonomy.`
var PAGE_YAML_WITH_TAXONOMIES_C = `---
tags: 'e'
tags: 'E'
categories: 'd'
---
YAML frontmatter with tags and categories taxonomy.`
var PAGE_JSON_WITH_TAXONOMIES = `{
"categories": "d",
"categories": "D",
"tags": [
"a",
"b",
@@ -37,7 +37,7 @@ var PAGE_JSON_WITH_TAXONOMIES = `{
JSON Front Matter with tags and categories`
var PAGE_TOML_WITH_TAXONOMIES = `+++
tags = [ "a", "b", "c" ]
tags = [ "a", "B", "c" ]
categories = "d"
+++
TOML Front Matter with tags and categories`