<ol class="post-list"> {{#each posts as |post|}} <li> <article class="post"> <div class="title"> <a href="{{post.post_url}}" target="_blank">{{post.title}}</a> <span>({{post.post_url}})</span> </div> <div class="meta"> {{post.vote_count}} point(s) by {{post.user.username}} on {{post.created_at}} | <a href="/post/{{post.id}}">{{post.comments.length}} comment(s)</a> </div> </article> </li> {{/each}} </ol>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter