Theme-Magzine SEO

This commit is contained in:
tangly1024.com
2024-11-22 12:45:47 +08:00
parent a07b128dd3
commit 5a985b3095
5 changed files with 19 additions and 12 deletions

View File

@@ -7,6 +7,7 @@ import { useEffect } from 'react'
import { GlobalStyle } from './GlobalStyle'
import { initGoogleAdsense } from './GoogleAdsense'
import Head from 'next/head'
import WebWhiz from './Webwhiz'
/**
@@ -252,10 +253,16 @@ const ExternalPlugin = props => {
)}
{AD_WWADS_ID && (
<script
type='text/javascript'
src='https://cdn.wwads.cn/js/makemoney.js'
async></script>
<>
<Head>
{/* 提前连接到广告服务器 */}
<link rel='preconnect' href='https://cdn.wwads.cn' />
</Head>
<script
type='text/javascript'
src='https://cdn.wwads.cn/js/makemoney.js'
async></script>
</>
)}
{/* {COMMENT_TWIKOO_ENV_ID && <script defer src={COMMENT_TWIKOO_CDN_URL} />} */}