scott56276
I have a situation where I'd like to modify the breadcrumbs based upon the slugs in the URL. These are for art gallery pages.
Say you have a page at /art/:category/:gallery_name
. Optionally, you might have /art/:category/:subcategory/:gallery_name
as well. This page is a child of /art
in the breadcrumb options.
Is there a way to modify the breadcrumb array via Twig? Based upon my initial research, it seems to be quite a PITA to modify an array element via Twig without using the god awful "merge" syntax.
It might be possible to extend the Breadcrumb plugin with yet-another-plugin, but that seems like overkill to me.
1-1 of 1