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 {
|
type pageMenus struct {
|
||||||
p *pageState
|
p *pageState
|
||||||
|
|
||||||
q navigation.MenyQueryProvider
|
q navigation.MenuQueryProvider
|
||||||
|
|
||||||
pmInit sync.Once
|
pmInit sync.Once
|
||||||
pm navigation.PageMenus
|
pm navigation.PageMenus
|
||||||
|
|
|
@ -20,7 +20,7 @@ import (
|
||||||
|
|
||||||
type PageMenusProvider interface {
|
type PageMenusProvider interface {
|
||||||
PageMenusGetter
|
PageMenusGetter
|
||||||
MenyQueryProvider
|
MenuQueryProvider
|
||||||
}
|
}
|
||||||
|
|
||||||
type PageMenusGetter interface {
|
type PageMenusGetter interface {
|
||||||
|
@ -31,7 +31,7 @@ type MenusGetter interface {
|
||||||
Menus() Menus
|
Menus() Menus
|
||||||
}
|
}
|
||||||
|
|
||||||
type MenyQueryProvider interface {
|
type MenuQueryProvider interface {
|
||||||
HasMenuCurrent(menuID string, me *MenuEntry) bool
|
HasMenuCurrent(menuID string, me *MenuEntry) bool
|
||||||
IsMenuCurrent(menuID string, inme *MenuEntry) bool
|
IsMenuCurrent(menuID string, inme *MenuEntry) bool
|
||||||
}
|
}
|
||||||
|
@ -99,7 +99,7 @@ func NewMenuQueryProvider(
|
||||||
setionPagesMenu string,
|
setionPagesMenu string,
|
||||||
pagem PageMenusGetter,
|
pagem PageMenusGetter,
|
||||||
sitem MenusGetter,
|
sitem MenusGetter,
|
||||||
p Page) MenyQueryProvider {
|
p Page) MenuQueryProvider {
|
||||||
|
|
||||||
return &pageMenus{
|
return &pageMenus{
|
||||||
p: p,
|
p: p,
|
||||||
|
|
Loading…
Reference in a new issue