Skip to content

Commit

Permalink
feat: baidu verify
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghao1993 committed Jan 7, 2025
1 parent aa0031d commit 97cba9f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,9 @@ const APP_NAME = "汪浩的博客";
const APP_DEFAULT_TITLE = "汪浩(Isaac Wang)的博客";
const APP_TITLE_TEMPLATE = "汪浩(Isaac Wang)的博客";
const APP_DESCRIPTION = "汪浩(Isaac Wang)的博客,一些关于技术和生活的的记录";
export type Metadatas = Metadata & {
"baidu-site-verification": string;
};

const DHeader = dynamic(() => import("@/components/Header"), { ssr: false });
export const metadata: Metadatas = {
export const metadata = {
keywords:
"博客,汪浩,Isaac Wang, Javascript, Vue, Css, Nextjs, Nodejs, Docker, web3,区块链",
applicationName: APP_NAME,
Expand All @@ -28,7 +25,6 @@ export const metadata: Metadatas = {
default: APP_DEFAULT_TITLE,
template: APP_TITLE_TEMPLATE,
},
"baidu-site-verification": "codeva-Nwhahifnu3",
description: APP_DESCRIPTION,
manifest: "manifest.json",
formatDetection: {
Expand Down Expand Up @@ -73,6 +69,7 @@ export default function RootLayout({
{process.env.mode !== "development" && (
<GoogleAnalytics gaId="G-4Z3CSGWXGR" />
)}
<meta name="baidu-site-verification" content="codeva-Nwhahifnu3" />
<body className={content.className}>
<AntdRegistry>
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem>
Expand Down

0 comments on commit 97cba9f

Please sign in to comment.