How can I customize the layout of a dynamic page for individual page items?