Spring cleaning of the menu code

This commit is contained in:
Bjørn Erik Pedersen
2016-03-23 00:29:39 +01:00
parent 4f00f1c94f
commit dc7d8a9eac
4 changed files with 65 additions and 46 deletions

View File

@@ -780,7 +780,7 @@ func (p *Page) Menus() PageMenus {
jww.ERROR.Printf("unable to process menus for %q: %s", p.Title, err)
}
menuEntry.MarshallMap(ime)
menuEntry.marshallMap(ime)
}
p.pageMenus[name] = &menuEntry
}