summaryrefslogtreecommitdiffstats
path: root/hugolib/taxonomy.go
diff options
context:
space:
mode:
authorJoel Scoble <joel.scoble@outlook.com>2014-08-21 18:01:34 -0500
committerspf13 <steve.francia@gmail.com>2014-08-25 10:16:59 -0400
commit4c735a78782e5b2e488729fa895fc757fcd0a6ed (patch)
tree4f38847ff777b261c1fe9d0df072f79666156fa7 /hugolib/taxonomy.go
parent348e123c9fda4dc2b604b671653ee36035f141aa (diff)
preserve alias case while lowercasing taxonomy
Diffstat (limited to 'hugolib/taxonomy.go')
-rw-r--r--hugolib/taxonomy.go2
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)] }