diff options
author | Christian Oliff <[email protected]> | 2024-04-11 16:23:17 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-11 09:23:17 +0200 |
commit | 17765a74518f720b3a5a90adaa0dfad1f5cfaf76 (patch) | |
tree | da2c302b6cb33057c430432037197e5583f1a84e /hugolib | |
parent | 92de8625c7f122343059e98c62d1049e27bb2573 (diff) | |
download | hugo-17765a74518f720b3a5a90adaa0dfad1f5cfaf76.tar.gz hugo-17765a74518f720b3a5a90adaa0dfad1f5cfaf76.zip |
all: Typo fixes
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/content_map.go | 2 | ||||
-rw-r--r-- | hugolib/content_map_page.go | 2 | ||||
-rw-r--r-- | hugolib/page__meta.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/hugolib/content_map.go b/hugolib/content_map.go index 0b82bdf28..62cabec51 100644 --- a/hugolib/content_map.go +++ b/hugolib/content_map.go @@ -181,7 +181,7 @@ func (m *pageMap) AddFi(fi hugofs.FileMetaInfo) error { var rs *resourceSource if pi.IsContent() { - // Create the page now as we need it at assemembly time. + // Create the page now as we need it at assembly time. // The other resources are created if needed. pageResource, pi, err := m.s.h.newPage( &pageMeta{ diff --git a/hugolib/content_map_page.go b/hugolib/content_map_page.go index ff0b05ed1..8682d5d4a 100644 --- a/hugolib/content_map_page.go +++ b/hugolib/content_map_page.go @@ -133,7 +133,7 @@ type pageTrees struct { func (t *pageTrees) collectAndMarkStaleIdentities(p *paths.Path) []identity.Identity { key := p.Base() var ids []identity.Identity - // We need only one identity sample per dimensio. + // We need only one identity sample per dimension. nCount := 0 cb := func(n contentNodeI) bool { if n == nil { diff --git a/hugolib/page__meta.go b/hugolib/page__meta.go index 7ab904357..ebf57f3b3 100644 --- a/hugolib/page__meta.go +++ b/hugolib/page__meta.go @@ -676,7 +676,7 @@ params: } // shouldList returns whether this page should be included in the list of pages. -// glogal indicates site.Pages etc. +// global indicates site.Pages etc. func (p *pageMeta) shouldList(global bool) bool { if p.isStandalone() { // Never list 404, sitemap and similar. |