Skip to content

Commit

Permalink
chore: add alternate link
Browse files Browse the repository at this point in the history
  • Loading branch information
PaiJi committed Aug 31, 2024
1 parent 160de67 commit ae091c8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/components/layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,27 @@ export default function Layout({
rel="canonical"
href={`https://www.furryeventchina.com${asPath}`}
/> */}
<link
rel="alternate"
hrefLang="zh-Hans-CN"
href={`https://www.furrycons.cn${asPath}`}
/>
<link
rel="alternate"
hrefLang="zh-Hans"
href={`https://www.furryeventchina.com${asPath}`}
/>
<link
rel="alternate"
hrefLang="en-CN"
href={`https://www.furrycons.cn/en${asPath}`}
/>
<link
rel="alternate"
hrefLang="en"
href={`https://www.furryeventchina.com/en${asPath}`}
/>

{structuredData?.event && (
<script
type="application/ld+json"
Expand Down

0 comments on commit ae091c8

Please sign in to comment.