Versions in this module Expand all Collapse all v0 v0.63.3 Jan 28, 2020 Changes in this version + var NopPageMenus = new(nopPageMenus) + type Menu []*MenuEntry + func (m Menu) Add(me *MenuEntry) Menu + func (m Menu) ByName() Menu + func (m Menu) ByWeight() Menu + func (m Menu) Limit(n int) Menu + func (m Menu) Reverse() Menu + func (m Menu) Sort() Menu + type MenuEntry struct + Children Menu + ConfiguredURL string + Identifier string + Menu string + Name string + Page Page + Parent string + Post template.HTML + Pre template.HTML + Weight int + func (m *MenuEntry) HasChildren() bool + func (m *MenuEntry) IsEqual(inme *MenuEntry) bool + func (m *MenuEntry) IsSameResource(inme *MenuEntry) bool + func (m *MenuEntry) KeyName() string + func (m *MenuEntry) MarshallMap(ime map[string]interface{}) + func (m *MenuEntry) Title() string + func (m *MenuEntry) URL() string + type MenuQueryProvider interface + HasMenuCurrent func(menuID string, me *MenuEntry) bool + IsMenuCurrent func(menuID string, inme *MenuEntry) bool + func NewMenuQueryProvider(setionPagesMenu string, pagem PageMenusGetter, sitem MenusGetter, p Page) MenuQueryProvider + type Menus map[string]Menu + type MenusGetter interface + Menus func() Menus + type Page interface + IsPage func() bool + LinkTitle func() string + Params func() maps.Params + RelPermalink func() string + Section func() string + Weight func() int + type PageMenus map[string]*MenuEntry + func PageMenusFromPage(p Page) (PageMenus, error) + type PageMenusGetter interface + Menus func() PageMenus + type PageMenusProvider interface