This commit is contained in:
Bethlenfalvi, Lorinc (ext)
2025-01-29 12:37:24 +01:00
parent 8dc4d7837f
commit f77e7d7539

View File

@@ -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]">
<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>
<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>
{updatedDate && <div>Amended <Time time={updatedDate} /></div>}
{updatedDate && <div>Amended <Time datetime={updatedDate} /></div>}
</header>
<hr class="mb-3">
<main class="max-w-[100ch] font-prose post-content">