Skip to content

Commit

Permalink
fix: align $title with vuepress (#158) (#163)
Browse files Browse the repository at this point in the history
fix #158
  • Loading branch information
patak-dev authored Nov 27, 2020
1 parent b9d63c0 commit 30740d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/client/app/mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ export function mixinGlobalComputed(

$title: {
get() {
return page.value.title || siteByRoute.value.title
return page.value.title
? page.value.title + ' | ' + siteByRoute.value.title
: siteByRoute.value.title
}
},

Expand Down

0 comments on commit 30740d3

Please sign in to comment.