blossom/templates/latestposts.html.tera

10 lines
462 B
Plaintext

<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>