Skip to content

Commit

Permalink
Fix typo s/Meny/Menu/
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi authored and bep committed Jul 9, 2019
1 parent 7611078 commit 90b0127
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hugolib/page__menus.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
type pageMenus struct {
p *pageState

q navigation.MenyQueryProvider
q navigation.MenuQueryProvider

pmInit sync.Once
pm navigation.PageMenus
Expand Down
6 changes: 3 additions & 3 deletions navigation/pagemenus.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (

type PageMenusProvider interface {
PageMenusGetter
MenyQueryProvider
MenuQueryProvider
}

type PageMenusGetter interface {
Expand All @@ -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
}
Expand Down Expand Up @@ -99,7 +99,7 @@ func NewMenuQueryProvider(
setionPagesMenu string,
pagem PageMenusGetter,
sitem MenusGetter,
p Page) MenyQueryProvider {
p Page) MenuQueryProvider {

return &pageMenus{
p: p,
Expand Down

0 comments on commit 90b0127

Please sign in to comment.