aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/site.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/site.go')
-rw-r--r--hugolib/site.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/hugolib/site.go b/hugolib/site.go
index 4e2497ee1..ebe4a771b 100644
--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -1224,6 +1224,8 @@ func (s *Site) assembleMenus() error {
// If page is still nill, we must make sure that we have a URL that considers baseURL etc.
if types.IsNil(me.Page) {
me.ConfiguredURL = s.createNodeMenuEntryURL(me.MenuConfig.URL)
+ } else {
+ navigation.SetPageValues(me, me.Page)
}
flat[twoD{name, me.KeyName()}] = me