Skip to content

Commit

Permalink
change layout
Browse files Browse the repository at this point in the history
  • Loading branch information
suzulang committed Nov 25, 2024
1 parent 9d53377 commit 9e14a58
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/Post.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ const { translate: t } = Astro.locals

<article class="heti">
<header class="text-center">
<h1>
{post.data.title}</a>
<h1 class="!m-0">
{post.data.title}
</h1>
<div class="mt-1 text-3.5">
<time>{formatDate(post.data.pubDate)}</time>
</div>
</header>
<slot />
</article>

0 comments on commit 9e14a58

Please sign in to comment.