1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Make Urls in menus respect CanonifyUrls

Fixes #519
This commit is contained in:
bep
2014-12-10 19:37:49 +01:00
parent e6541c45ab
commit 3ccb397902
4 changed files with 8 additions and 7 deletions

View File

@@ -182,7 +182,7 @@ func TestHomeNodeMenu(t *testing.T) {
defer resetMenuTestState(ts)
home := ts.site.newHomeNode()
homeMenuEntry := &MenuEntry{Name: home.Title, Url: string(home.Permalink)}
homeMenuEntry := &MenuEntry{Name: home.Title, Url: home.Url}
for i, this := range []struct {
menu string