Break article metadata at best point

This commit is contained in:
Jade Ellis 2024-07-24 23:53:02 +01:00
parent 6638165b75
commit 659e360b10
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2

View file

@ -167,12 +167,12 @@
<article class="h-entry">
<h1 id="title" class="p-name">{data.post.title}</h1>
<aside>
<a class="u-url" href={canonical}
>Published on <time class="dt-published" datetime={data.post.date}
<a class="u-url ib" href={canonical}
>Published on <time class="dt-published ib" datetime={data.post.date}
>{new Date(data.post.date).toLocaleDateString()}</time
></a
>
<span class="author p-author h-card vcard">
<span class="author p-author h-card vcard ib">
by <img
loading="lazy"
style="display: none;"
@ -182,7 +182,7 @@
>{defaultAuthor.name}</a
></span
>
· <span>{data.post.readingTime.text}</span>
· <span class="reading-time ib">{data.post.readingTime.text}</span>
{#if webShareAPISupported}
· <button class="link" on:click={handleWebShare}>Share</button>
{/if}
@ -217,4 +217,7 @@
text-decoration: underline;
cursor: pointer;
}
.ib {
display: inline-block;
}
</style>