From a9f99ae51a5edb6a45ee81471502a2b16bdddc3b Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Wed, 29 Sep 2021 13:08:52 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=85=20=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=A7=BB=E5=85=A5config.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blog.config.js | 3 +- components/SideBar.js | 4 +-- components/ThirdPartyScript.js | 53 ++++++++++++++++------------------ 3 files changed, 29 insertions(+), 31 deletions(-) diff --git a/blog.config.js b/blog.config.js index c82e77b9..7f1de703 100644 --- a/blog.config.js +++ b/blog.config.js @@ -57,7 +57,8 @@ const BLOG = { } }, isProd: process.env.VERCEL_ENV === 'production', // distinguish between development and production environment (ref: https://vercel.com/docs/environment-variables#system-environment-variables) - googleAdsense: true + googleAdsenseId: 'ca-pub-2708419466378217', + DaoVoiceId: 'daf1a94b' // DaoVoice http://dashboard.daovoice.io/get-started } // export default BLOG module.exports = BLOG diff --git a/components/SideBar.js b/components/SideBar.js index 4b91d3d8..afdf96cd 100644 --- a/components/SideBar.js +++ b/components/SideBar.js @@ -41,7 +41,7 @@ const SideBar = ({ tags, currentTag, toc }) => { return