From 401d7149a1248d1cb7c5a78c079bdcf2e6e3e134 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Sat, 23 Nov 2024 20:17:52 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E7=BB=84=E4=BB=B6bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ExternalPlugins.js | 5 +- components/ExternalScript.js | 4 +- components/SEO.js | 51 ++++++++++--------- components/WWAds.js | 15 ++++-- themes/magzine/components/MenuItemCollapse.js | 8 +-- .../magzine/components/PostListRecommend.js | 3 +- 6 files changed, 49 insertions(+), 37 deletions(-) diff --git a/components/ExternalPlugins.js b/components/ExternalPlugins.js index 4adb21ed8f1..877222ad3b5 100644 --- a/components/ExternalPlugins.js +++ b/components/ExternalPlugins.js @@ -8,6 +8,7 @@ import { GlobalStyle } from './GlobalStyle' import { initGoogleAdsense } from './GoogleAdsense' import Head from 'next/head' +import ExternalScript from './ExternalScript' import WebWhiz from './Webwhiz' /** @@ -258,10 +259,10 @@ const ExternalPlugin = props => { {/* 提前连接到广告服务器 */} - + /> )} diff --git a/components/ExternalScript.js b/components/ExternalScript.js index 00bd852180b..7b791522685 100644 --- a/components/ExternalScript.js +++ b/components/ExternalScript.js @@ -7,7 +7,7 @@ import { isBrowser } from '@/lib/utils' * 传入参数将转为