Hi.
I have a pagelist generating some product cards (see below) but the newPagelist type:'children'
makes this piece of code not portable for what i'm trying to achieve, as it references children of its location.
<section class="rowCards">
<@ newPagelist { type: 'children'} @>
<@ foreach in pagelist @>
---A bunch of html here---
<@ end @>
</section>
What can I do to make the newPagelist
contain all the direct children of "/products/" so I can move this code anywhere in a snippet and it will return the same list of products, rather than just the children of its current location.