change canonical to canonicalUrl for keeping it consistent

This commit is contained in:
Onur Geneş
2022-01-18 20:13:24 +03:00
parent 45d6228868
commit 1835cca296
5 changed files with 7 additions and 8 deletions
+2 -2
View File
@@ -166,7 +166,7 @@ summary (optional)
images (optional, if none provided defaults to socialBanner in siteMetadata config)
authors (optional list which should correspond to the file names in `data/authors`. Uses `default` if none is specified)
layout (optional list which should correspond to the file names in `data/layouts`)
canonical (optional, canonical url for the post for SEO)
canonicalUrl (optional, canonical url for the post for SEO)
```
Here's an example of a post's frontmatter:
@@ -182,7 +182,7 @@ summary: 'Looking for a performant, out of the box template, with all the best i
images: ['/static/images/canada/mountains.jpg', '/static/images/canada/toronto.jpg']
authors: ['default', 'sparrowhawk']
layout: PostLayout
canonical: https://tailwind-nextjs-starter-blog.vercel.app/blog/introducing-tailwind-nextjs-starter-blog
canonicalUrl: https://tailwind-nextjs-starter-blog.vercel.app/blog/introducing-tailwind-nextjs-starter-blog
---
```