💄 fix alot of styling regarding blogpages

This commit is contained in:
SindreKjelsrud 2023-09-25 14:45:37 +02:00
parent 912519d0c6
commit abde34ee29
6 changed files with 54 additions and 54 deletions

View file

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