I'm attempting to list the child pages of a page, and with each child page, list the pages' attachments along with a link to the child page.
Right now, my code is displaying the child pages and the page content. I know there is something fairly simple to move around that will subsitute the page content for the page's attachment, but I'm struggling to figure it out.
Here is my current code:
I appreciate any advice,