Skip to content

Commit

Permalink
feat(meta): add baidu site validate for global site (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaiJi authored Mar 5, 2024
1 parent d32ec48 commit 74c647b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,10 @@ export default function Layout({
name="twitter:image"
content={headMetas?.cover || "https://images.furrycons.cn/banner.png"}
/>
{IS_CN_REGION && (
<meta name="baidu-site-verification" content="codeva-GHH5uUsoan" />
)}
<meta
name="baidu-site-verification"
content={IS_CN_REGION ? "codeva-GHH5uUsoan" : "codeva-UlpDYpags1"}
/>
<link rel="icon" href="/favicon.ico" />
<link
rel="canonical"
Expand Down

0 comments on commit 74c647b

Please sign in to comment.