diff options
Diffstat (limited to 'hugolib/site.go')
-rw-r--r-- | hugolib/site.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hugolib/site.go b/hugolib/site.go index 19821e8b2..035f543ee 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -789,8 +789,10 @@ func (s *Site) assembleMenus() { navigation.SetPageValues(me, p) } } + } - } else { + // 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) } |