Menu Entry Methods

According to this documentation: MENU ENTRY METHODS we can include a params key to attach additional information to the entry.

My menus.en.toml

weight = 4
name = "Resources"
hasChildren = true
    parent = "Resources"
    name = "Hugo"
    url = ""
        rel = "external"

and i got error:

ERROR Failed to reload config: failed to load config: failed to unmarshal config for path “/home/jordan/hugo/newsite/menus.en.toml”: “_stream.toml:1:1”: unmarshal failed: toml: table params already exists
Please help me

Try [main.params] instead. Params | Hugo

1 Like

thank you

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.