Revert "Make Urls in menus respect CanonifyUrls"

This reverts commit 3ccb397902.
This commit is contained in:
bep
2014-12-11 05:33:40 +01:00
parent 3ccb397902
commit 9b04c27998
4 changed files with 7 additions and 8 deletions

View File

@@ -473,7 +473,7 @@ func (page *Page) Menus() PageMenus {
ret := PageMenus{}
if ms, ok := page.Params["menu"]; ok {
link, _ := page.RelPermalink()
link, _ := page.Permalink()
me := MenuEntry{Name: page.LinkTitle(), Weight: page.Weight, Url: link}