diff --git a/blog.config.js b/blog.config.js
index 132f810d..d12da9c1 100644
--- a/blog.config.js
+++ b/blog.config.js
@@ -33,8 +33,9 @@ const BLOG = {
gaConfig: {
measurementId: 'G-5EV4HZD0XX' // e.g: G-XXXXXXXXXX
},
- baidyAnalytics: 'f683ef76f06bb187cbed5546f6f28f28', // e.g only need xxxxx -> https://hm.baidu.com/hm.js?xxxxx
- busuanzi: true // see http://busuanzi.ibruce.info/
+ baiduAnalytics: 'f683ef76f06bb187cbed5546f6f28f28', // e.g only need xxxxx -> https://hm.baidu.com/hm.js?[xxxxx]
+ busuanzi: true, // see http://busuanzi.ibruce.info/
+ cnzzAnalytics: '' // 站长统计id only need xxxxxxxx -> https://s9.cnzz.com/z_stat.php?id=[xxxxxxxx]&web_id=[xxxxxxx]
},
comment: {
// support provider: gitalk, utterances, cusdis
@@ -58,7 +59,7 @@ const BLOG = {
},
isProd: process.env.VERCEL_ENV === 'production', // distinguish between development and production environment (ref: https://vercel.com/docs/environment-variables#system-environment-variables)
googleAdsenseId: 'ca-pub-2708419466378217',
- DaoVoiceId: 'daf1a94b' // DaoVoice http://dashboard.daovoice.io/get-started
+ DaoVoiceId: '' // 在线聊天 DaoVoice http://dashboard.daovoice.io/get-started
}
// export default BLOG
module.exports = BLOG
diff --git a/components/Footer.js b/components/Footer.js
index d43efcc7..cf2e1d83 100644
--- a/components/Footer.js
+++ b/components/Footer.js
@@ -13,12 +13,12 @@ const Footer = ({ fullWidth = true }) => {
pv
+ href='/#'>
uv
diff --git a/components/ThirdPartyScript.js b/components/ThirdPartyScript.js
index ccf823c7..912d1f12 100644
--- a/components/ThirdPartyScript.js
+++ b/components/ThirdPartyScript.js
@@ -1,5 +1,10 @@
import BLOG from '@/blog.config'
+/**
+ * 第三方代码 统计脚本
+ * @returns {JSX.Element}
+ * @constructor
+ */
const ThirdPartyScript = () => {
return (<>
{BLOG.DaoVoiceId && (<>
@@ -36,14 +41,14 @@ const ThirdPartyScript = () => {
/>
)}
{/* 百度统计 */}
- {BLOG.analytics.baidyAnalytics && (
+ {BLOG.analytics.baiduAnalytics && (