export default ({ params: layout }) => [
  {
    title: 'productLink',
    link: `/${layout}/products`
  },
  {
    title: 'notFoundLink',
    link: `/${layout}/404`
  }
]

export default layout => (
  [
    {
      title: 'productLink',
      link: `/${layout}/products`
    },
    {
      title: 'notFoundLink',
      link: `/${layout}/404`
    }
  ]
)

fix broken link navigation