Styles the blog posts themselves

This commit is contained in:
2025-06-05 13:16:01 -07:00
parent 54b5a0b3b0
commit 6994808b77
2 changed files with 76 additions and 83 deletions

View File

@@ -6,13 +6,12 @@ interface Props {
const { date } = Astro.props;
---
<time datetime={date.toISOString()}>
<time datetime={date.toISOString()} class="text-medium">
{
// date.toLocaleDateString('en-us', {
// year: 'numeric',
// month: 'short',
// day: 'numeric',
// })
date.toISOString()
date.toLocaleDateString("en-us", {
year: "numeric",
month: "short",
day: "numeric",
})
}
</time>