shithub: hugo

Download patch

ref: c8477c4f6e5ca11ad0daaab09eb1102392bfccb4
parent: 1a94148d062beb6e45d5eeef3447d0308e496718
author: Edward Vielmetti <[email protected]>
date: Thu Jul 16 03:47:35 EDT 2015

Fix typo: "taxononomy" -> "taxonomy"

--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -1095,7 +1095,7 @@
 
 		n, base = s.newTaxonomyNode(t)
 
-		if err := s.renderAndWritePage("taxononomy "+t.singular, base, n, layouts...); err != nil {
+		if err := s.renderAndWritePage("taxonomy "+t.singular, base, n, layouts...); err != nil {
 			results <- err
 			continue
 		}
@@ -1124,7 +1124,7 @@
 				}
 				pageNumber := i + 1
 				htmlBase := fmt.Sprintf("/%s/%s/%d", base, paginatePath, pageNumber)
-				if err := s.renderAndWritePage(fmt.Sprintf("taxononomy %s", t.singular), htmlBase, taxonomyPagerNode, layouts...); err != nil {
+				if err := s.renderAndWritePage(fmt.Sprintf("taxonomy %s", t.singular), htmlBase, taxonomyPagerNode, layouts...); err != nil {
 					results <- err
 					continue
 				}