mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-08 23:40:40 +02:00
new menus system including active link & nesting
This commit is contained in:
@@ -31,7 +31,18 @@ type Node struct {
|
||||
UrlPath
|
||||
}
|
||||
|
||||
func (n Node) RSSlink() template.HTML {
|
||||
func (n *Node) Now() time.Time {
|
||||
return time.Now()
|
||||
}
|
||||
|
||||
func (n *Node) HasMenuCurrent(menu string, me *MenuEntry) bool {
|
||||
return false
|
||||
}
|
||||
func (n *Node) IsMenuCurrent(menu string, name string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (n *Node) RSSlink() template.HTML {
|
||||
return n.RSSLink
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user