Add read time

This commit is contained in:
Jade Ellis
2024-07-16 22:24:34 +01:00
parent 85ffece367
commit 9dbdcf2493
4 changed files with 68 additions and 2 deletions
@@ -34,7 +34,7 @@
<aside>
<a class="u-url" href={canonical}>Published on <time class="dt-published" datetime={data.post.date}
>{new Date(data.post.date).toLocaleDateString()}</time
></a>
></a> · <span>{data.post.readingTime.text}</span>
</aside>
<Toc headings={data.post.headings} />
<!-- {#await GhReleasesDownload}