aboutsummaryrefslogtreecommitdiffstats
path: root/templates/latestposts.html.tera
blob: 5aab5cbc6abf221c1f3de02ff7aa7bec2a9c0425 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
<div class="panel" id="posts">
  <h2>latest posts <a class="small-badge" href="/feed"><img class="small-badge" src="/atombadge.png" alt="atom 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>