Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'navigation/menu.go')
-rw-r--r--navigation/menu.go3
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)
+
}
}
}