added the components array for publish.ejs
rejigger
Merge pull request #830 from Pomax/fixpublish

added the components array for publish.ejs