diff options
Diffstat (limited to 'hugolib/site.go')
-rw-r--r-- | hugolib/site.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hugolib/site.go b/hugolib/site.go index 4175fecc2..d2a5e68ae 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -956,7 +956,7 @@ func (s *Site) translateFileEvents(events []fsnotify.Event) []fsnotify.Event { eventMap := make(map[string][]fsnotify.Event) // We often get a Remove etc. followed by a Create, a Create followed by a Write. - // Remove the superflous events to mage the update logic simpler. + // Remove the superfluous events to mage the update logic simpler. for _, ev := range events { eventMap[ev.Name] = append(eventMap[ev.Name], ev) } @@ -999,7 +999,7 @@ var ( ) // reBuild partially rebuilds a site given the filesystem events. -// It returns whetever the content source was changed. +// It returns whatever the content source was changed. // TODO(bep) clean up/rewrite this method. func (s *Site) processPartial(config *BuildCfg, init func(config *BuildCfg) error, events []fsnotify.Event) error { events = s.filterFileEvents(events) @@ -1513,7 +1513,7 @@ func (s *Site) assembleMenus() { } } -// get any lanaguagecode to prefix the target file path with. +// get any language code to prefix the target file path with. func (s *Site) getLanguageTargetPathLang(alwaysInSubDir bool) string { if s.h.IsMultihost() { return s.Language().Lang |