shithub: hugo

Download patch

ref: 90b0127f63e9cd5bf3a8bd4282237db224a3c263
parent: 7611078daef32306ab31fe360db9895cdd3626d3
author: Kaushal Modi <[email protected]>
date: Tue Jul 9 06:29:30 EDT 2019

Fix typo s/Meny/Menu/

--- a/hugolib/page__menus.go
+++ b/hugolib/page__menus.go
@@ -22,7 +22,7 @@
 type pageMenus struct {
 	p *pageState
 
-	q navigation.MenyQueryProvider
+	q navigation.MenuQueryProvider
 
 	pmInit sync.Once
 	pm     navigation.PageMenus
--- a/navigation/pagemenus.go
+++ b/navigation/pagemenus.go
@@ -20,7 +20,7 @@
 
 type PageMenusProvider interface {
 	PageMenusGetter
-	MenyQueryProvider
+	MenuQueryProvider
 }
 
 type PageMenusGetter interface {
@@ -31,7 +31,7 @@
 	Menus() Menus
 }
 
-type MenyQueryProvider interface {
+type MenuQueryProvider interface {
 	HasMenuCurrent(menuID string, me *MenuEntry) bool
 	IsMenuCurrent(menuID string, inme *MenuEntry) bool
 }
@@ -99,7 +99,7 @@
 	setionPagesMenu string,
 	pagem PageMenusGetter,
 	sitem MenusGetter,
-	p Page) MenyQueryProvider {
+	p Page) MenuQueryProvider {
 
 	return &pageMenus{
 		p:               p,