From 6c3316873f7e0517dfd7d4d2ec1a7a7075939bc3 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Tue, 7 May 2024 17:31:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E6=96=87=E5=AD=97?= =?UTF-8?q?=E7=9B=B8=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/config.js | 3 --- themes/commerce/components/Footer.js | 12 +++++++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/lib/config.js b/lib/config.js index 9d2ddf39..8002e046 100644 --- a/lib/config.js +++ b/lib/config.js @@ -55,9 +55,6 @@ export const siteConfig = (key, defaultVal = null, extendConfig = null) => { if (!val && extendConfig) { val = extendConfig[key] } - if (extendConfig) { - console.log('extendConfig', extendConfig[key]) - } // 其次 NOTION没有找到配置,则会读取blog.config.js文件 if (!val) { diff --git a/themes/commerce/components/Footer.js b/themes/commerce/components/Footer.js index d6aa5908..1f3c6b6b 100644 --- a/themes/commerce/components/Footer.js +++ b/themes/commerce/components/Footer.js @@ -149,9 +149,15 @@ const Footer = props => { )}>
-
- {siteConfig('COMMERCE_FOOTER_RIGHT_TEXT', null, CONFIG)} -
+
}