added condition not to display title if hideTitle is true
added linkForArticle with title and urlForArticle helper