Is there any known way to query for similar content when using collection: true (to create many pages from a query). Is it possible to end up with similar content details within the page details passed to a layout template?
I'm inclined to ask if you can use the data from one query in another (within the /src folder)... or do some kind of sub-query. Perhaps you'd need to run a query within a partial and pass in the id?
Is there any known way to query for similar content when using
collection: true
(to create many pages from a query). Is it possible to end up with similar content details within the page details passed to a layout template?https://prismic.io/docs/rest-api/query-the-api/predicates-reference#60_0-similar
I'm inclined to ask if you can use the data from one query in another (within the /src folder)... or do some kind of sub-query. Perhaps you'd need to run a query within a partial and pass in the id?