diff options
author | Joel Scoble <joel.scoble@outlook.com> | 2014-08-21 18:01:34 -0500 |
---|---|---|
committer | spf13 <steve.francia@gmail.com> | 2014-08-25 10:16:59 -0400 |
commit | 4c735a78782e5b2e488729fa895fc757fcd0a6ed (patch) | |
tree | 4f38847ff777b261c1fe9d0df072f79666156fa7 /hugolib/taxonomy.go | |
parent | 348e123c9fda4dc2b604b671653ee36035f141aa (diff) |
preserve alias case while lowercasing taxonomy
Diffstat (limited to 'hugolib/taxonomy.go')
-rw-r--r-- | hugolib/taxonomy.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/taxonomy.go b/hugolib/taxonomy.go index 5bb69eb90..6939e076d 100644 --- a/hugolib/taxonomy.go +++ b/hugolib/taxonomy.go @@ -60,7 +60,7 @@ type OrderedTaxonomyEntry struct { // KeyPrep... Taxonomies should be case insensitive. Can make it easily conditional later. func kp(in string) string { - return helpers.MakePath(in) + return helpers.MakePathToLower(in) } func (i Taxonomy) Get(key string) WeightedPages { return i[kp(key)] } |