I’m building my site blueprint with two sections:
- A content section with all listed subpages
- A gallery with images for a slideshow (displayed in the home template). I would like to get and set (by upload) the images in the “home” folder:
I built up my site blueprint like this:
sections:
content:
type: pages
status: listed
gallery:
type: files
query: page.find('home').images
But it seems not working. When I upload an image in the panel it still gets saved in the parent site (“content”) folder instead of the “home” folder. Also I can’t access to my images in the “home” folder.
What have I done wrong?