diff options
author | Joe Mooring <[email protected]> | 2024-12-18 11:41:47 -0800 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-12-19 08:47:53 +0100 |
commit | b3f32949cb089ae686af8548161fafc50869214b (patch) | |
tree | f892cf45a329abfa60385a9f6b6f776b20d7c6f0 /hugolib/site.go | |
parent | 55ecd3a90e37b8d14651789a582d3b60c7dc4bd1 (diff) | |
download | hugo-b3f32949cb089ae686af8548161fafc50869214b.tar.gz hugo-b3f32949cb089ae686af8548161fafc50869214b.zip |
hugolib: Fix fallbacks for menu entry Name and Title
Closes #13161
Diffstat (limited to 'hugolib/site.go')
-rw-r--r-- | hugolib/site.go | 2 |
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 |