Include extra data with menu

I have a custom menu where I have a special image for each menu item. I don’t want to leave it in the HTML because I want all my menus to be accessible in the config.toml. It’s a little weird having some menu items in the config.toml and others in the html…

Is there any way around this :

[[menu.logo]]
  name = "N3 UX"
  url = "http://dwprivdn00020.mvt.desjardins.dev:4850/"
  weight = "4"
  img  = "logo-n3ux.png"

I want to be able to access my img parameter here.

2 Likes