From b118f09d5d4d3e05c5cb4e31ec31bcda1b6e8b55 Mon Sep 17 00:00:00 2001 From: satnaing Date: Sun, 23 Jul 2023 10:59:44 +0630 Subject: [PATCH] docs: update schema code in docs for new canonicalURL property --- src/content/blog/how-to-add-an-estimated-reading-time.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/blog/how-to-add-an-estimated-reading-time.md b/src/content/blog/how-to-add-an-estimated-reading-time.md index 938ffdc..75fe5f8 100644 --- a/src/content/blog/how-to-add-an-estimated-reading-time.md +++ b/src/content/blog/how-to-add-an-estimated-reading-time.md @@ -81,6 +81,7 @@ export const blogSchema = z tags: z.array(z.string()).default(["others"]), ogImage: z.string().optional(), description: z.string(), + canonicalURL: z.string().optional(), readingTime: z.string().optional(), // 👈🏻 readingTime frontmatter }) .strict();