mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
Revert "Make Urls in menus respect CanonifyUrls"
This reverts commit 3ccb397902.
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user