Last active
November 28, 2021 17:34
-
-
Save dhanar98/b4ac7c909dee41983d49866e4ad89d80 to your computer and use it in GitHub Desktop.
Next-Seo Default Snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { NextSeo } from 'next-seo'; | |
const HomeSeo = () => ( | |
<> | |
<NextSeo | |
title="title" | |
description="Description about pages." | |
canonical="https://dhanar98.hashnode.dev/" | |
openGraph={{ | |
url: 'https://dhanar98.hashnode.dev/', | |
title: 'Open Graph Title', | |
description: 'Open Graph Description', | |
site_name: 'Dhanar98', | |
}} | |
twitter={{ | |
handle: '@dhanar98', | |
site: '@dhanar98', | |
cardType: 'summary_large_image', | |
}} | |
/> | |
</> | |
); | |
export default HomeSeo; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment