Convert conditional of special pages to check to an array which can be iterated through and extended as required