Available Since: V1.0.0
Used by default by the news.stories snippet to draw stories for the snippet, the default is:
<div class="news_story"> <h2>[[if &subject=`[[+news.storyURI]]` &operator=`empty` &then=`[[+news.title]]` &else=`<a href="[[+news.storyURI]]">[[+news.title]]</a>`]]</h2>[[if &subject=`[[+news.thumbnail]]` &operator=`!empty` &then=`<div class="news_thumb"><img src="[[+news.thumbnail]]" alt="Picture for [[+news.title]]" /></div>`]]<div class="news_body"> <p>[[+news.summary]]</p> <p>[[+news.published]]</p> </div> </div>
Placeholder | Description |
---|---|
news.title | The title of the news story. |
news.story | The news story. |
news.thumbnail | If present then relative URL of the stories thumbnail. |
news.summary | The summary of the news story. |
news.published | The date and time that the story was published. |