diff options
author | Phil Davis <phil@jankaritech.com> | 2020-12-16 16:56:32 +0545 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-16 12:11:32 +0100 |
commit | 04b89857e104ac7dcbf9fc65d8d4f1a1178123e6 (patch) | |
tree | 585bf761f0a1cfc69dffcd8afd22e94ca9da7c07 /hugolib/pagecollections.go | |
parent | 21fa1e86f2aa929fb0983a0cc3dc4e271ea1cc54 (diff) |
all: Fix minor typos
Diffstat (limited to 'hugolib/pagecollections.go')
-rw-r--r-- | hugolib/pagecollections.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/pagecollections.go b/hugolib/pagecollections.go index c1c9ef88b..2e4287612 100644 --- a/hugolib/pagecollections.go +++ b/hugolib/pagecollections.go @@ -98,7 +98,7 @@ func newPageCollections(m *pageMap) *PageCollections { // This is an adapter func for the old API with Kind as first argument. // This is invoked when you do .Site.GetPage. We drop the Kind and fails -// if there are more than 2 arguments, which would be ambigous. +// if there are more than 2 arguments, which would be ambiguous. func (c *PageCollections) getPageOldVersion(ref ...string) (page.Page, error) { var refs []string for _, r := range ref { @@ -291,7 +291,7 @@ func (c *PageCollections) getContentNode(context page.Page, isReflink bool, ref getByName := func(s string) (*contentNode, error) { n := m.pageReverseIndex.Get(s) if n != nil { - if n == ambigousContentNode { + if n == ambiguousContentNode { return nil, fmt.Errorf("page reference %q is ambiguous", ref) } return n, nil |