We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3757c6c commit 384c5c7Copy full SHA for 384c5c7
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.description || 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