Skip to content

Commit

Permalink
添加部分验证信息:
Browse files Browse the repository at this point in the history
1. 添加百度搜索验证
2. 添加站点地图生成
  • Loading branch information
ChenYFan committed Feb 18, 2024
1 parent f8afb35 commit 67b73ab
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
5 changes: 4 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,7 @@ search:
lazyload:
enable: true
onlypost: false
loadingImg: # eg ./images/loading.gif
loadingImg: # eg ./images/loading.gif

sitemap:
path: sitemap.xml
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,22 @@
},
"dependencies": {
"@chenyfan/cache-db": "^0.0.4",
"monaco-editor": "^0.44.0",
"notyf": "^3.10.0",
"vue": "^3.3.4",
"vue-router": "^4.2.5",
"hexo": "^6.3.0",
"hexo-abbrlink": "^2.2.1",
"hexo-generator-archive": "^2.0.0",
"hexo-generator-category": "^2.0.0",
"hexo-generator-index": "^3.0.0",
"hexo-generator-search": "^2.4.3",
"hexo-generator-sitemap": "^3.0.1",
"hexo-generator-tag": "^2.0.0",
"hexo-renderer-ejs": "^2.0.0",
"hexo-renderer-marked": "^6.0.0",
"hexo-renderer-stylus": "^3.0.0",
"hexo-server": "^3.0.0"
"hexo-server": "^3.0.0",
"monaco-editor": "^0.44.0",
"notyf": "^3.10.0",
"vue": "^3.3.4",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.2.3",
Expand All @@ -41,4 +42,4 @@
"tailwindcss": "^3.3.5",
"vite": "^4.4.5"
}
}
}
1 change: 1 addition & 0 deletions themes/cyanset/layout/_partial/head.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="color-scheme" content="light dark">
<meta name="baidu-site-verification" content="codeva-fKqX8ua7ka" />
<link rel="apple-touch-icon" sizes="76x76" href="https://registry.npmmirror.com/chenyfan-oss/4/files/512.jpg">
<%
var title = page.title;
Expand Down

0 comments on commit 67b73ab

Please sign in to comment.