Skip to content

Commit

Permalink
feat($seo): show page title in front of site title (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnijuohz authored and ulivz committed May 29, 2018
1 parent 0477310 commit ffe12b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/app/dataMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function dataMixin (siteData) {
)
return siteTitle
? selfTitle
? (siteTitle + ' | ' + selfTitle)
? (selfTitle + ' | ' + siteTitle)
: siteTitle
: selfTitle || 'VuePress'
},
Expand Down

0 comments on commit ffe12b9

Please sign in to comment.