Content Templates

Content templates look after the rendering of web pages, news articles and blogging articles. They take pre-defined HTML that is entered into the Instantcart content editor and render it into a template. Webpages and Blogging / news articles share the same template called "content/content.template.html", however developers can differentiate between the content type by using the content.type variable in a Twig if statement. To render a list of blogging or news articles, simply amend the "content/news.template.html" template.