You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
675 B

  1. <ul class="posts">
  2. {% for post in posts %}
  3. <li class="post">
  4. <div class="post-thumbnail">
  5. <a href="{{ url_for('.user', username=post.author.username) }}">
  6. <img class="img-rounded profile-thumbnail" src="{{ post.author.gravatar(size=40) }}">
  7. </a>
  8. </div>
  9. <div class="post-content">
  10. <div class="post-date">{{ moment(post.timestamp).fromNow() }}</div>
  11. <div class="post-author"><a href="{{ url_for('.user', username=post.author.username) }}">{{ post.author.username }}</a></div>
  12. <div class="post-body">{{ post.body }}</div>
  13. </div>
  14. </li>
  15. {% endfor %}
  16. </ul>