Skip to content

Commit

Permalink
feat: add keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
521xueweihan committed Nov 20, 2024
1 parent 0563e0f commit 66423ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/components/Seo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ export default function Seo(props: SeoProps) {
<title>{`${meta.title} - HelloGitHub`}</title>
<meta name='robots' content={meta.robots} />
<meta content={meta.description} name='description' />
<meta
name='keywords'
content='开源,open source,开源社区,开源项目,open source projects,programming,程序员社区,beginner-friendly projects,新手友好项目'
/>
<meta property='og:url' content={`${meta.url}${router.asPath}`} />
<link rel='canonical' href={`${meta.url}${router.asPath}`} />
{/* Open Graph */}
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const Footer = ({ t, isLite }: FooterProps) => {

<FooterLink
className='mt-2'
href='https://www.ucloud.cn/site/active/gpu.html?utm_term=logo&utm_campaign=hellogithub&utm_source=otherdsp&utm_medium=display&ytag=logo_hellogithub_otherdsp_display'
href='https://www.ucloud.cn/site/active/kuaijiesale.html?utm_term=logo&utm_campaign=hellogithub&utm_source=otherdsp&utm_medium=display&ytag=logo_hellogithub_otherdsp_display'
>
<span>{t('footer.server_sponsor')}</span>
<span className='mx-0.5 align-[1px]'>
Expand Down

0 comments on commit 66423ad

Please sign in to comment.