aboutsummaryrefslogtreecommitdiffstats
path: root/templates/latestposts.html.tera
blob: 8ab5406ed428cccff0fef6b32e0c1f0e68084397 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
<div class="panel" id="posts">
  <h2>latest posts <!--<a class="badge" href="/feed.xml"><img class="badge" src="/rssbadge.png" alt="rss newsfeed"></a>--></h2>
  <table id="post-list">
    {% for blogpost in blogposts %}
    <tr>
      <td><a class="post-entry" href="/blog/{{ blogpost.subject }}">{{ blogpost.subject }}<span class="post-date">{{ blogpost.created_at | truncate(length=10, end="") }}</span></a></td>
    </tr>
    {% endfor %}
  </table>
</div>