Previously JSON-LD was broken, both because the list of breadcrumbs was not wrapped in an array and because the array had a trailing comma.
I've added a dummy element [] to the end of the array to deal with the trailing comma issue. This feels a bit hacky, but I'm not sure if there's a better solution.
Previously JSON-LD was broken, both because the list of breadcrumbs was not wrapped in an array and because the array had a trailing comma.
I've added a dummy element
[]
to the end of the array to deal with the trailing comma issue. This feels a bit hacky, but I'm not sure if there's a better solution.