WIP: list posts function

This commit is contained in:
2025-05-20 13:40:20 -07:00
parent c8a1632902
commit bae7126189
2 changed files with 46 additions and 0 deletions

View File

@@ -1,3 +1,11 @@
<h2>Posts</h2>
$list_posts2{limit = 3}[[
<section>
<h3><a href="$target">$post_title</a></h3>
<time>$publish_date</time> — $blurb
<a class="read-post-link" href="$target">Read post →</a>
</section>
]]
$list_posts