mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Fix typo: "taxononomy" -> "taxonomy"
This commit is contained in:
parent
1a94148d06
commit
c8477c4f6e
1 changed files with 2 additions and 2 deletions
|
@ -1095,7 +1095,7 @@ func taxonomyRenderer(s *Site, taxes <-chan taxRenderInfo, results chan<- error,
|
||||||
|
|
||||||
n, base = s.newTaxonomyNode(t)
|
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
|
results <- err
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
@ -1124,7 +1124,7 @@ func taxonomyRenderer(s *Site, taxes <-chan taxRenderInfo, results chan<- error,
|
||||||
}
|
}
|
||||||
pageNumber := i + 1
|
pageNumber := i + 1
|
||||||
htmlBase := fmt.Sprintf("/%s/%s/%d", base, paginatePath, pageNumber)
|
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
|
results <- err
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue