From 9cd5b7d1585f1f2f3164a37f8a0fe916c8f0aa4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Mon, 25 Mar 2024 10:05:03 +0800 Subject: [PATCH] =?UTF-8?q?meta=E4=BF=AE=E6=94=B9cont.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 3 +++ src/forge/Main/CoderDepot.jsx | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) 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])