new menus system including active link & nesting

This commit is contained in:
spf13
2014-04-23 02:59:19 -04:00
parent 69c1944f1f
commit 9ecf58e29b
4 changed files with 316 additions and 16 deletions

View File

@@ -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
}