Merge pull request #1289 from tdouguo/add-baidu-site-verification

添加百度站长验证
This commit is contained in:
tangly1024
2023-07-20 20:45:58 +08:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -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
// <---- 站点统计
// 谷歌广告

View File

@@ -28,6 +28,7 @@ const CommonHead = ({ meta, children }) => {
content={BLOG.SEO_GOOGLE_SITE_VERIFICATION}
/>
)}
{BLOG.SEO_BAIDU_SITE_VERIFICATION && (<meta name="baidu-site-verification" content={BLOG.SEO_BAIDU_SITE_VERIFICATION} />)}
<meta name="keywords" content={keywords} />
<meta name="description" content={description} />
<meta property="og:locale" content={lang} />