Moved pages rendering from SiteGenerator.groovy to configuration