Commit 1f96eaef authored by vben's avatar vben

chore: format site title #268

parent 58940930
...@@ -124,7 +124,7 @@ function setDocumentTitle(title: string) { ...@@ -124,7 +124,7 @@ function setDocumentTitle(title: string) {
export function setTitle(title: string, appTitle?: string) { export function setTitle(title: string, appTitle?: string) {
if (title) { if (title) {
const _title = title ? ` ${title}-${appTitle} ` : `${appTitle}`; const _title = title ? ` ${title} - ${appTitle} ` : `${appTitle}`;
setDocumentTitle(_title); setDocumentTitle(_title);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment