Add template source to pages.