diff options
author | Bjørn Erik Pedersen <[email protected]> | 2021-07-20 11:32:50 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2021-07-20 17:50:59 +0200 |
commit | 634481ba8cfcd865ba0d8811d8834f6af45663d7 (patch) | |
tree | b766189899b9260ca124e7f0e91edaf8774574fa /navigation | |
parent | c19f65f956739ab76c38222d48a3e461525e31af (diff) | |
download | hugo-634481ba8cfcd865ba0d8811d8834f6af45663d7.tar.gz hugo-634481ba8cfcd865ba0d8811d8834f6af45663d7.zip |
Fix Params case handling for menu items defined in site config
Fixes #8775
Diffstat (limited to 'navigation')
-rw-r--r-- | navigation/menu.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/navigation/menu.go b/navigation/menu.go index 159c49710..3ef06f6a9 100644 --- a/navigation/menu.go +++ b/navigation/menu.go @@ -131,7 +131,8 @@ func (m *MenuEntry) MarshallMap(ime map[string]interface{}) { case "parent": m.Parent = cast.ToString(v) case "params": - m.Params = maps.ToStringMap(v) + m.Params = maps.MustToParamsAndPrepare(v) + } } } |