Hello all,
I am trying to figure out the best approach to have the same slug for a dynamic page folder and how one would query that when not being able to use the UID.
For example:
/fr-fr/brussels/royal/gym
/fr-fr/milan/harbour/gym
What is the best method to create two different gym pages that have the same slug for different venues/gym. I can't use UID this method would return a different slug.
I have created a gym.vue file inside the dynamic folder for venue, what is the best method to query gym in relation to the venue? The custom type for gym is repeatable so getSingle won't work. Document Type?
Another quick query on multi lingual. Is there an option to only return the language for the tag and not the country? The request is to only have /fr/ /en/ /de/ etc.. I have a good understanding how to do this in JavaScript but wanted to check if there was a method to return only the language code from Prismic instead?
Thanks