aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--hugolib/page__menus.go2
-rw-r--r--navigation/pagemenus.go6
2 files changed, 4 insertions, 4 deletions
diff --git a/hugolib/page__menus.go b/hugolib/page__menus.go
index 0c9616a6d..2b7998afa 100644
--- a/hugolib/page__menus.go
+++ b/hugolib/page__menus.go
@@ -22,7 +22,7 @@ import (
type pageMenus struct {
p *pageState
- q navigation.MenyQueryProvider
+ q navigation.MenuQueryProvider
pmInit sync.Once
pm navigation.PageMenus
diff --git a/navigation/pagemenus.go b/navigation/pagemenus.go
index 4d2c45767..443c8cd61 100644
--- a/navigation/pagemenus.go
+++ b/navigation/pagemenus.go
@@ -20,7 +20,7 @@ import (
type PageMenusProvider interface {
PageMenusGetter
- MenyQueryProvider
+ MenuQueryProvider
}
type PageMenusGetter interface {
@@ -31,7 +31,7 @@ type MenusGetter interface {
Menus() Menus
}
-type MenyQueryProvider interface {
+type MenuQueryProvider interface {
HasMenuCurrent(menuID string, me *MenuEntry) bool
IsMenuCurrent(menuID string, inme *MenuEntry) bool
}
@@ -99,7 +99,7 @@ func NewMenuQueryProvider(
setionPagesMenu string,
pagem PageMenusGetter,
sitem MenusGetter,
- p Page) MenyQueryProvider {
+ p Page) MenuQueryProvider {
return &pageMenus{
p: p,