Skip to content

Instantly share code, notes, and snippets.

@justjohn
Created February 21, 2012 15:39
Show Gist options
  • Save justjohn/1877071 to your computer and use it in GitHub Desktop.
Save justjohn/1877071 to your computer and use it in GitHub Desktop.
Template for a tweet
<div class="userPicture">
<a href="http://twitter.com/{{ user.screen_name }}"><img src="{{ user.profile_image_url }}" alt="" /></a>
</div>
<div class="content">
<div class="date">{{ created_at|date("M j, Y @ g:i a") }}</div>
<div class="user">
<span class="name"><a href="{{ user.url }}">{{ user.name }}</a></span>
<span class="handle"><a href="http://twitter.com/{{ user.screen_name }}">{{ user.screen_name }}</a></span>
</div>
<div class="text">{{ text }}</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment