Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Updating templates
{{#each model as |item|}}
<p>
<strong>id:</strong> {{item.id}}<br>
<strong>title:</strong> {{item.title}}<br>
<strong>points:</strong> {{item.points}}<br>
<strong>time:</strong> {{item.time}}<br>
<strong>time ago:</strong> {{item.timeAgo}}<br>
<strong>comments count</strong> {{story.commentsCount}}<br>
<strong>url</strong> <a href="{{item.url}}">{{item.url}}</a><br>
<strong>domain</strong> <a href="http://{{item.domain}}">{{item.domain}}</a><br>
</p>
<hr>
{{/each}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment