:(
This commit is contained in:
@@ -13,9 +13,9 @@ const { title, author, summary, pubDate, updatedDate } = Astro.props;
|
|||||||
<header class="lg:grid grid-cols-[auto_auto_minmax(300px,_1fr)] grid-rows-[auto_auto]">
|
<header class="lg:grid grid-cols-[auto_auto_minmax(300px,_1fr)] grid-rows-[auto_auto]">
|
||||||
<h2 class="font-bold row-span-2 text-2xl m-2 mt-3">{title}</h2>
|
<h2 class="font-bold row-span-2 text-2xl m-2 mt-3">{title}</h2>
|
||||||
<address class="post-meta inline-block col-start-2">{author}</address>
|
<address class="post-meta inline-block col-start-2">{author}</address>
|
||||||
<Time client:load time={pubDate} />
|
<Time client:load datetime={pubDate} />
|
||||||
<div class="italic tracking-[3px] text-emph-fg col-start-2 col-span-2 m-2 mt-0">{summary}</div>
|
<div class="italic tracking-[3px] text-emph-fg col-start-2 col-span-2 m-2 mt-0">{summary}</div>
|
||||||
{updatedDate && <div>Amended <Time time={updatedDate} /></div>}
|
{updatedDate && <div>Amended <Time datetime={updatedDate} /></div>}
|
||||||
</header>
|
</header>
|
||||||
<hr class="mb-3">
|
<hr class="mb-3">
|
||||||
<main class="max-w-[100ch] font-prose post-content">
|
<main class="max-w-[100ch] font-prose post-content">
|
||||||
|
|||||||
Reference in New Issue
Block a user