WIP: Wrap posts in an article tag

This commit is contained in:
2025-06-16 20:18:04 -07:00
parent 48d3f807c9
commit 462a08d9dc
12 changed files with 192 additions and 122 deletions

View File

@@ -1,4 +1,6 @@
$render{"templates/root"}
<h2><code>templates/blog.html</code></h2>
$wrap{"root"}
<section>
<h2><a href="$root/posts/">Web Log</a></h2>
@@ -8,4 +10,17 @@ $render{"templates/root"}
</p>
</section>
$body
<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>