diff --git a/public/index.html b/public/index.html index 971fa324..06d38434 100755 --- a/public/index.html +++ b/public/index.html @@ -17,6 +17,9 @@ + + + diff --git a/src/forge/Main/CoderDepot.jsx b/src/forge/Main/CoderDepot.jsx index fe570e02..6a16ba22 100644 --- a/src/forge/Main/CoderDepot.jsx +++ b/src/forge/Main/CoderDepot.jsx @@ -109,9 +109,9 @@ function CoderDepot(props){ const { author, name, description, default_branch} = projectDetail; if(branchName && branchName !== default_branch){ // 处于某分支/标签 - document.title = `${author.name}/${name}-${branchName}-for gitlink;for git`; + document.title = `${author.name}/${name}-${branchName} | GitLink`; }else{ - document.title = `${author.name}/${name}${description?': '+description:''}-for gitlink;for git` ; + document.title = `${author.name}/${name}${description?': '+description:''} | GitLink` ; } } }, [treeValuePath, projectDetail, branchName])