From f52e66289003488f6749a445dbe600f8b0c66fbc Mon Sep 17 00:00:00 2001 From: Joel Scoble Date: Thu, 2 Oct 2014 16:28:24 -0500 Subject: [PATCH] Feed the titleized taxonomy key through string replace to replace '-' with ' ' for proper display of the taxonmy title --- hugolib/site.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugolib/site.go b/hugolib/site.go index e3ef47275..ad7afd725 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -815,7 +815,7 @@ func taxonomyRenderer(s *Site, taxes <-chan taxRenderInfo, results chan<- error, for t := range taxes { base := t.plural + "/" + t.key n := s.NewNode() - n.Title = strings.Title(t.key) + n.Title = strings.Replace(strings.Title(t.key), "-", " ", -1) s.setUrls(n, base) n.Date = t.pages[0].Page.Date n.Data[t.singular] = t.pages