Hello all !
In the routes.yaml file, is there a way to filter from a part of the tag ?
Here are two examples that will be more clear (i hope) :
from tags like that painter-firstname-name, i want routes /painter/firstname-name
I’d like to do something like :
routes:
/painter/{slug}/:
controller: channel
filter: tag:painter-{slug}
from tags like that sculptor-firstname-name, i want routes /sculptor/firstname-name
I’d like to do something like :
routes:
/sculptor/{slug}/:
controller: channel
filter: tag:sculptor-{slug}
In another way, i’m trying to hack the inhability to have parent and children tags or to create custom types/objects. But maybe, i’m trying the wrong way…
Thx by advance for your answers