Add posts page; fix post templates

This commit is contained in:
2025-06-16 20:18:04 -07:00
parent 329c0dc3cc
commit fc9497b152
6 changed files with 37 additions and 46 deletions

16
templates/post.html Normal file
View File

@@ -0,0 +1,16 @@
$wrap{"blog"}
<article>
<header>
<div>
<h2>$(title or id)</h2>
<time>$(post.publish_date)</time>
</div>
</header>
$body
<div class="mt-16">
<a href="/posts">Back to posts</a>
</div>
</article>