添加百度站长验证

This commit is contained in:
tdou@MBP
2023-07-20 17:21:28 +08:00
parent e278777e56
commit 5fcde8d3c6
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} />