Skip to content

Commit

Permalink
feat: optimize lighthouse
Browse files Browse the repository at this point in the history
  • Loading branch information
kuizuo committed Dec 28, 2023
1 parent 4ee4054 commit 5d98e96
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,19 @@ const config: Config = {
items: [
{ label: '友链', position: 'right', to: 'friends' },
{ label: '导航', position: 'right', to: 'resource' },
// { label: '我的站点', position: 'right', to: 'website' },
{
html: `<a href="https://docusaurus.io/zh-CN/" target="_blank"><img style="height:50px;margin-top:0.5rem" src="/img/buildwith.png" /><a/>`,
html: `
<a href="https://docusaurus.io/zh-CN/" target="_blank" rel="noreferrer noopener">
<img src="/img/buildwith.png" alt="build with docusaurus" width="120" height="50"/>
<a/>
`,
},
],
},
],
copyright: `
<p style="margin-bottom: 0;"><a href="http://beian.miit.gov.cn/">${beian}</a></p>
<p style="display: inline-flex; align-items: center;"><img style="height:20px;margin-right: 0.5rem;" src="/img/police.png" /><a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=${beian1.match(
<p style="display: inline-flex; align-items: center;"><img style="height:20px;margin-right: 0.5rem;" src="/img/police.png" alt="police" height="20"/><a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=${beian1.match(
/\d+/,
)?.[0]}" >${beian1}</a></p>
<p>Copyright © 2020 - PRESENT 愧怍 Built with Docusaurus.</p>
Expand Down

1 comment on commit 5d98e96

@vercel
Copy link

@vercel vercel bot commented on 5d98e96 Dec 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog – ./

blog-kuizuo1.vercel.app
kuizuo.cn
blog-git-main-kuizuo1.vercel.app
blog-kuizuo.vercel.app

Please sign in to comment.