Build error: Two or more menu items have the same name/identifier

Hi,
i’m getting the named error regarding my menu, but i can not find where my problem is - all names and identifiers are unique - i’ve includes my toml code.

Thanks for any tips…

ERROR 2018/01/12 13:44:29 Two or more menu items have the same name/identifier in Menu "main": "episode-4".
Rename or set an unique identifier.

[[menu.main]]
    name = "One"
    url = "/episode-1"
    identifier = "episode-1"
    weight = -50
[[menu.main]]
    name = "Two"
    url = "/episode-2"
    identifier = "episode-2"
    weight = -49
[[menu.main]]
    name = "Three"
    url = "/episode-3"
    identifier = "episode-3"
    weight = -48
[[menu.main]]
    name = "Four"
    url = "/episode-4"
    identifier = "episode-4"
    weight = -47

Check the front matter in content. I would search all files for “episode-4” to see what is found.

I suspect you have a menu item set in the front matter of one of your posts.

1 Like