News detail layout

This layout is not used by any module per se.

Site visitors get to it only after clicking the links outputted by the tag {tag_subject} or {tag_subject} which can both be found on the news list layout.

Accessible from

  • Admin Console:┬áSite Manager > Module Templates > News Layouts
  • SFTP & Develop Mode: /Layouts/Announcement/detail.html

Renders these tags

Liquid tag Legacy tag Description
{tag_addtofavorites,add_Image, remove_Image}Add the news item to favorites list. Optionally customize to display your own custom image for adding and removing. Here is an example - {tag_addtofavorites,<img alt="" src="/images/add.gif" />,<img alt="" src="/images/remove.gif" />}
For additional information on how to render the output of this tag using Liquid take a look at the Enable other Liquid tags article.
{{body}} {tag_body}Details of the news item (editor content)
{{fromDate}} {tag_eventfromdate}Start date of the event (if applicable)
{{toDate}} {tag_eventtodate}End date of the event (if applicable)
{{expiryDate}} {tag_expirydate}Expiry date of the news item.
{{lastUpdateDate}} {tag_lastupdatedate}Last update date of the news item.
{{releaseDate}} {tag_releasedate}Release date of the news item.
{{subject}} {tag_subject}Subject of news item in plain text