diff options
author | cel 🌸 <cel@blos.sm> | 2024-01-30 16:16:05 +0000 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2024-01-30 16:16:05 +0000 |
commit | f00159f53b3774601500ec65345791311ff6efa1 (patch) | |
tree | cc65a487e71a056126e1935108a494c7851863f9 /templates/latestposts.html | |
parent | 8c03d9a53f4bc2f70fb5c1e0487bc74fe0137fcb (diff) | |
download | blossom-f00159f53b3774601500ec65345791311ff6efa1.tar.gz blossom-f00159f53b3774601500ec65345791311ff6efa1.tar.bz2 blossom-f00159f53b3774601500ec65345791311ff6efa1.zip |
migrate to poem and askama
Diffstat (limited to 'templates/latestposts.html')
-rw-r--r-- | templates/latestposts.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/latestposts.html b/templates/latestposts.html new file mode 100644 index 0000000..e2dfa9f --- /dev/null +++ b/templates/latestposts.html @@ -0,0 +1,13 @@ +<div class="panel" id="posts"> + <h2>latest posts <a class="small-badge" href="/feed"><img class="small-badge" src="/static/atombadge.png" + alt="atom newsfeed"></a></h2> + <table id="post-list"> + {% for blogpost in blogposts %} + <tr> + <td><a class="post-entry" href="/blog/{{ blogpost.file_name() }}">{{ blogpost.subject().unwrap_or("untitled") + }}<span class="post-date">{{ + blogpost.published_at()|mytruncate(10) }}</span></a></td> + </tr> + {% endfor %} + </table> +</div>
\ No newline at end of file |