Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
YongZL committed Jun 13, 2024
1 parent d96cd69 commit 0747005
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@ import { Html, Head, Main, NextScript } from "next/document";
export default function Document() {
return (
<Html lang="en">
<Head />
<Head >


<meta property="og:title" content="next/head | Next.js" />
<meta property="og:url" content="https://www.nextjs.cn/docs/api-reference/next/head" />
<meta name="description" content="通过 Next.js 内置的 Head 组件将自定义的元素添加到页面的 `head` 中。" />
<meta property="og:description" content="通过 Next.js 内置的 Head 组件将自定义的元素添加到页面的 `head` 中。" />
<meta property="og:image" content="https://www.nextjs.cn/static/twitter-cards/documentation.png"></meta>
</Head>
<body>
<Main />
<NextScript />
Expand Down

0 comments on commit 0747005

Please sign in to comment.