Skip to main content

News article

A single news article and associated image.

Route name

news_article

URL pattern

/news/article/{articleId}/{articleSlug}

Layout

Article

Module

Publishing

Page class

news-article

Acceptance criteria

  • I can preview a news article
  • Page errors if an invalid news ID is passed - 404 response
  • Page errors if the news article is offline - 404 response
  • Breadcrumb includes news list
  • Category specific stylesheet is used
  • News article specific metadata is used
  • Title, summary, image, content, news date content is rendered on the page
  • Image is only rendered if it has been completed
  • If image has caption, caption is shown
  • News date is rendered in a recognised date format
  • Multimedia items are rendered in article document editor content
  • Approved version is shown
  • HTML content is rendered unencoded