feat: use more semantic html for post body

This commit is contained in:
Youwen Wu 2024-05-25 13:48:31 -07:00
parent 5fa6605116
commit 3e9e398a9c
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -1,19 +1,15 @@
<main> <article>
<article> <header>
<header> <h1 class="text-4xl">
<h1 class="text-4xl"> <a href=".$url$">$title$</a>
<a href=".$url$">$title$</a> </h1>
</h1> <p class="mb-1 mt-2 italic text-lg text-accent-light dark:text-accent-dark">
<p $desc$
class="mb-1 mt-2 italic text-lg text-accent-light dark:text-accent-dark" </p>
> <div class="mt-2">$date$</div>
$desc$ <div class="mt-1 text-sm">
</p> $if(updated)$(last updated: $updated$)$endif$
<div class="mt-2">$date$</div> </div>
<div class="mt-1 text-sm"> </header>
$if(updated)$(last updated: $updated$)$endif$ <main class="post mt-4">$body$</main>
</div> </article>
</header>
<section class="post mt-6">$body$</section>
</article>
</main>