WIP: Wrap posts in an article tag

This commit is contained in:
2025-05-14 17:09:34 -07:00
parent 5d9d95db05
commit 2993a35c80
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>