Skip to content

Commit

Permalink
feat: 优化网站
Browse files Browse the repository at this point in the history
  • Loading branch information
lilingfengdev committed Dec 7, 2024
1 parent 2b52bd2 commit 8f24836
Show file tree
Hide file tree
Showing 3 changed files with 1,766 additions and 1,457 deletions.
4 changes: 3 additions & 1 deletion docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ import { head, nav, sidebar } from './configs'
const APP_BASE_PATH = basename(process.env.GITHUB_REPOSITORY || '')

export default defineConfig({

sitemap: {
hostname: 'https://lezi.yizhan.wiki'
},

outDir: '../dist',
base: '/',
Expand Down
5 changes: 5 additions & 0 deletions docs/.vitepress/configs/head.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,9 @@ export const head: HeadConfig[] = [
['link', { rel: 'mask-icon', href: '/favicon.ico', color: '#3eaf7c' }],
['meta', { name: 'msapplication-TileImage', content: '/favicon.ico' }],
['meta', { name: 'msapplication-TileColor', content: '#000000' }],
[
'script',
{},
'(function(c,l,a,r,i,t,y){c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);})(window, document, "clarity", "script", "pa3ajixhri");',
],
]
Loading

0 comments on commit 8f24836

Please sign in to comment.