mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02: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