Change build process to get access to the sibling pages in templates