Commit 1f96eaef99542523c4eca61a879a3fd4afe986a6
1 parent
58940930
chore: format site title #268
Showing
1 changed file
with
1 additions
and
1 deletions
src/utils/index.ts
@@ -124,7 +124,7 @@ function setDocumentTitle(title: string) { | @@ -124,7 +124,7 @@ function setDocumentTitle(title: string) { | ||
124 | 124 | ||
125 | export function setTitle(title: string, appTitle?: string) { | 125 | export function setTitle(title: string, appTitle?: string) { |
126 | if (title) { | 126 | if (title) { |
127 | - const _title = title ? ` ${title}-${appTitle} ` : `${appTitle}`; | 127 | + const _title = title ? ` ${title} - ${appTitle} ` : `${appTitle}`; |
128 | setDocumentTitle(_title); | 128 | setDocumentTitle(_title); |
129 | } | 129 | } |
130 | } | 130 | } |