expose hapi and public page template