added read time on index and post pages

This commit is contained in:
2022-09-29 22:28:06 +02:00
parent 619758c175
commit 6a9ceb9670
22 changed files with 103 additions and 50 deletions

View File

@@ -38,6 +38,9 @@ export const query = graphql`
fields {
slug
tagSlugs
readingTime {
text
}
}
frontmatter {
date

View File

@@ -140,6 +140,9 @@ exports[`PostTemplate renders correctly 1`] = `
<h1>
Perfecting the Art of Perfection
</h1>
<h2>
-
</h2>
<div
dangerouslySetInnerHTML={
{