mirror of
https://github.com/youwen5/blog.git
synced 2024-11-24 18:03:50 -08:00
feat: use more semantic html for post body
This commit is contained in:
parent
5fa6605116
commit
3e9e398a9c
1 changed files with 15 additions and 19 deletions
|
@ -1,19 +1,15 @@
|
|||
<main>
|
||||
<article>
|
||||
<header>
|
||||
<h1 class="text-4xl">
|
||||
<a href=".$url$">$title$</a>
|
||||
</h1>
|
||||
<p
|
||||
class="mb-1 mt-2 italic text-lg text-accent-light dark:text-accent-dark"
|
||||
>
|
||||
$desc$
|
||||
</p>
|
||||
<div class="mt-2">$date$</div>
|
||||
<div class="mt-1 text-sm">
|
||||
$if(updated)$(last updated: $updated$)$endif$
|
||||
</div>
|
||||
</header>
|
||||
<section class="post mt-6">$body$</section>
|
||||
</article>
|
||||
</main>
|
||||
<article>
|
||||
<header>
|
||||
<h1 class="text-4xl">
|
||||
<a href=".$url$">$title$</a>
|
||||
</h1>
|
||||
<p class="mb-1 mt-2 italic text-lg text-accent-light dark:text-accent-dark">
|
||||
$desc$
|
||||
</p>
|
||||
<div class="mt-2">$date$</div>
|
||||
<div class="mt-1 text-sm">
|
||||
$if(updated)$(last updated: $updated$)$endif$
|
||||
</div>
|
||||
</header>
|
||||
<main class="post mt-4">$body$</main>
|
||||
</article>
|
||||
|
|
Loading…
Reference in a new issue