diff --git a/blog.config.js b/blog.config.js index 19169747..7440790e 100644 --- a/blog.config.js +++ b/blog.config.js @@ -296,6 +296,9 @@ const BLOG = { SEO_GOOGLE_SITE_VERIFICATION: process.env.NEXT_PUBLIC_SEO_GOOGLE_SITE_VERIFICATION || '', // Remove the value or replace it with your own google site verification code + SEO_BAIDU_SITE_VERIFICATION: + process.env.NEXT_PUBLIC_SEO_BAIDU_SITE_VERIFICATION || '', // Remove the value or replace it with your own google site verification code + // <---- 站点统计 // 谷歌广告 diff --git a/components/CommonHead.js b/components/CommonHead.js index 8eb7c8f8..fcc4981f 100644 --- a/components/CommonHead.js +++ b/components/CommonHead.js @@ -28,6 +28,7 @@ const CommonHead = ({ meta, children }) => { content={BLOG.SEO_GOOGLE_SITE_VERIFICATION} /> )} + {BLOG.SEO_BAIDU_SITE_VERIFICATION && ()}