summaryrefslogtreecommitdiffstats
path: root/hugolib
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-08-07 20:19:24 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-08-07 20:19:24 +0200
commit46ac7453743f0bd889d0be3505bde2521f9f0336 (patch)
treecdaa5b34a3764d7ab7cb5b2d28efbed928c9b18d /hugolib
parent4b54fb07018d5ed66ef82b6a53462e1b15c85d86 (diff)
all: Fix spelling
And some other minor issues.
Diffstat (limited to 'hugolib')
-rw-r--r--hugolib/handler_base.go4
-rw-r--r--hugolib/hugo_sites.go1
2 files changed, 2 insertions, 3 deletions
diff --git a/hugolib/handler_base.go b/hugolib/handler_base.go
index 10698ea7a..d7e4a63a3 100644
--- a/hugolib/handler_base.go
+++ b/hugolib/handler_base.go
@@ -25,12 +25,12 @@ type Handler interface {
Extensions() []string
}
-// Handle identifies functionality assosiated with certain file extentions.
+// Handle identifies functionality associated with certain file extensions.
type Handle struct {
extensions []string
}
-// Extensions returns a list of extentions.
+// Extensions returns a list of extensions.
func (h Handle) Extensions() []string {
return h.extensions
}
diff --git a/hugolib/hugo_sites.go b/hugolib/hugo_sites.go
index c3829fb1d..e763588bd 100644
--- a/hugolib/hugo_sites.go
+++ b/hugolib/hugo_sites.go
@@ -381,7 +381,6 @@ func (h *HugoSites) createMissingPages() error {
}
if !foundTaxonomyTermsPage {
- foundTaxonomyTermsPage = true
n := s.newTaxonomyTermsPage(plural)
s.Pages = append(s.Pages, n)
newPages = append(newPages, n)