From 5fcde8d3c6c35ee08759ab1cd7142e80b654a0fa Mon Sep 17 00:00:00 2001 From: "tdou@MBP" Date: Thu, 20 Jul 2023 17:21:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=99=BE=E5=BA=A6=E7=AB=99?= =?UTF-8?q?=E9=95=BF=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blog.config.js | 3 +++ components/CommonHead.js | 1 + 2 files changed, 4 insertions(+) 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 && ()}