mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Fix typo s/Meny/Menu/
This commit is contained in:
parent
7611078dae
commit
90b0127f63
2 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@ import (
|
|||
type pageMenus struct {
|
||||
p *pageState
|
||||
|
||||
q navigation.MenyQueryProvider
|
||||
q navigation.MenuQueryProvider
|
||||
|
||||
pmInit sync.Once
|
||||
pm navigation.PageMenus
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue