WIP: list posts

This commit is contained in:
2025-06-16 20:18:04 -07:00
parent ccaea0145b
commit dd8e3a95fc
13 changed files with 179 additions and 84 deletions

View File

@@ -7,30 +7,7 @@
<!-- render templates/wares -->
$render{"templates/wares"}
<!-- render moon-test -->
$render{"moon-test"}
<!-- render home -->
$render{"home"}
<h2>Posts</h2>
$each{posts, "post"}[[
<section>
<h3>
<a href="$url_for{ id = "recursively-list-all-files-in-a-directory-with-elixir" }">
$post
</a>
</h3>
<time datetime="2025-01-18">Jan 18, 2025</time>
— blurb here
<a href="$url_for{ id = "recursively-list-all-files-in-a-directory-with-elixir" }" class="read-post-link">
Read post →
</a>
</section>
]]
$markdown{[[
#### [View more posts]($root/posts/)
]]}
<!-- render posts -->
$render{"posts"}