We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 748fa7f commit d193931Copy full SHA for d193931
lib/app/dataMixin.js
@@ -47,13 +47,13 @@ export default {
47
return targetLang || defaultLang || {}
48
},
49
$title () {
50
- return this.$localeConfig.title || this.$site.title || ''
+ return this.$page.frontmatter.title || this.$localeConfig.title || this.$site.title || ''
51
52
$description () {
53
- return this.$localeConfig.description || this.$site.description || ''
+ return this.$page.frontmatter.title || this.$localeConfig.description || this.$site.description || ''
54
55
$lang () {
56
- return this.$localeConfig.lang || 'en-US'
+ return this.$page.frontmatter.lang || this.$localeConfig.lang || 'en-US'
57
58
$localePath () {
59
return this.$localeConfig.path || '/'
0 commit comments