hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 0a0db9cd259bf14bf38f1c954e39ecaa70f26923
parent ff2498ee8951b09aa02657723078be143db4091d
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed, 23 Nov 2016 16:46:16 +0100

hubolib: Simplify map range

Diffstat:
Mhugolib/hugo_sites.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hugolib/hugo_sites.go b/hugolib/hugo_sites.go
@@ -228,7 +228,7 @@ func (h *HugoSites) createMissingPages() error {
 				tax := s.Taxonomies[plural]
 				foundTaxonomyPage := false
 				foundTaxonomyTermsPage := false
-				for key, _ := range tax {
+				for key := range tax {
 					for _, p := range taxonomyPages {
 						if p.sections[0] == plural && p.sections[1] == key {
 							foundTaxonomyPage = true