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

@@ -13,6 +13,9 @@ interface Fields {
slug?: string;
categorySlug?: string;
tagSlugs?: Array<string>;
readingTime?: {
text: string;
};
}
interface Node extends GatsbyNode {