Download next.js/examples/blog/pages/_document.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.14 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/blog/pages/_document.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/examples/blog/pages/_document.tsx
-
curl -L -o _document.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/blog/pages/_document.tsx
1.14 kB
| import { Html, Head, Main, NextScript } from "next/document"; | |
| export default function Document() { | |
| const meta = { | |
| title: "Next.js Blog Starter Kit", | |
| description: "Clone and deploy your own Next.js portfolio in minutes.", | |
| image: "https://assets.vercel.com/image/upload/q_auto/front/vercel/dps.png", | |
| }; | |
| return ( | |
| <Html lang="en"> | |
| <Head> | |
| <meta name="robots" content="follow, index" /> | |
| <meta name="description" content={meta.description} /> | |
| <meta property="og:site_name" content={meta.title} /> | |
| <meta property="og:description" content={meta.description} /> | |
| <meta property="og:title" content={meta.title} /> | |
| <meta property="og:image" content={meta.image} /> | |
| <meta name="twitter:card" content="summary_large_image" /> | |
| <meta name="twitter:site" content="@yourname" /> | |
| <meta name="twitter:title" content={meta.title} /> | |
| <meta name="twitter:description" content={meta.description} /> | |
| <meta name="twitter:image" content={meta.image} /> | |
| </Head> | |
| <body> | |
| <Main /> | |
| <NextScript /> | |
| </body> | |
| </Html> | |
| ); | |
| } | |