We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2b6641 commit fbf5e5dCopy full SHA for fbf5e5d
packages/@vuepress/core/lib/node/ClientComputedMixin.js
@@ -66,10 +66,10 @@ module.exports = siteData => {
66
}
67
68
get $canonicalUrl () {
69
- const { canonical } = this.$page.frontmatter
+ const { canonicalUrl } = this.$page.frontmatter
70
71
- if (typeof canonical === 'string') {
72
- return canonical
+ if (typeof canonicalUrl === 'string') {
+ return canonicalUrl
73
74
75
return false
0 commit comments