News list layout

Is used by these modules

Accessible from

  • Admin Console:┬áSite Manager > Module Templates > News Layouts
  • SFTP & Develop Mode: /Layouts/Announcement/list.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 in dateTime format
{{toDate}} {tag_eventtodate}End date of the event (if applicable)
{tag_button,Your Text}will output a hyperlink with the text "Your Text" and when clicked will take the site visitor to the detail layout
{{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
{tag_subject}Subject of the news item (will have hyperlink) that when clicked will open the news item detail layout
{{subject}} {tag_subject_nolink}Subject of the news item in plain text.
{{url}} {tag_announcementurl_value}Will output the URL of this news item, for example /announcements/important-notice-to-shareholders
{{counter}} {tag_counter}Outputs the current number of this news item on the page.
{{id}} {tag_announcementid}Will output the ID of this news item, for example 15234