Skip to content

Commit

Permalink
seo增加百度站长工具
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghao1993 committed Sep 4, 2024
1 parent f95cf32 commit 9cbebab
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import LenisProvider from "@/components/Providers/LenisProvider";
import ThemeProvider from "@/components/Providers/ThemeProvider";
import "./ui/globals.scss";
import Header from "@/components/Header";

import { AntdRegistry } from "@ant-design/nextjs-registry";
import { NextAuthProvider } from "@/components/Providers/AuthProvider";
import { content } from "@/lib/font";
Expand All @@ -17,14 +16,19 @@ const APP_DEFAULT_TITLE = "汪浩(Isaac Wang)的博客";
const APP_TITLE_TEMPLATE = "汪浩(Isaac Wang)的博客";
const APP_DESCRIPTION = "汪浩(Isaac Wang)的博客,一些关于技术和生活的的记录";

export const metadata: Metadata = {
export type Metadatas = Metadata & {
"baidu-site-verification": string;
};

export const metadata: Metadatas = {
keywords:
"博客,汪浩,Isaac Wang, Javascript, Vue, Css, Nextjs, Nodejs, Docker, web3,区块链",
applicationName: APP_NAME,
title: {
default: APP_DEFAULT_TITLE,
template: APP_TITLE_TEMPLATE,
},
"baidu-site-verification": "codeva-n7vACpBbX1",
description: APP_DESCRIPTION,
manifest: "./manifest.json",
appleWebApp: {
Expand Down Expand Up @@ -68,6 +72,7 @@ export default function RootLayout({
/>

<GoogleTagManager gtmId="G-4Z3CSGWXGR" />
<meta name="baidu-site-verification" content="codeva-n7vACpBbX1" />
<body className={content.className}>
<AntdRegistry>
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem>
Expand Down

0 comments on commit 9cbebab

Please sign in to comment.