Skip to content

Commit

Permalink
Merge branch 'canary' into trailing-slash-files
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot authored Jun 30, 2020
2 parents dc87c0c + 2ad0b5b commit 1b87e5a
Showing 1 changed file with 23 additions and 25 deletions.
48 changes: 23 additions & 25 deletions examples/with-next-seo/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,29 @@ export default function Home() {
return (
<div>
<NextSeo
config={{
title: 'Page Meta Title',
description: 'This will be the page meta description',
canonical: 'https://www.canonicalurl.ie/',
openGraph: {
url: 'https://www.canonicalurl.ie/',
title: 'Open Graph Title',
description: 'Open Graph Description',
images: [
{
url: 'https://www.example.ie/og-image-01.jpg',
width: 800,
height: 600,
alt: 'Og Image Alt',
},
{
url: 'https://www.example.ie/og-image-02.jpg',
width: 900,
height: 800,
alt: 'Og Image Alt Second',
},
{ url: 'https://www.example.ie/og-image-03.jpg' },
{ url: 'https://www.example.ie/og-image-04.jpg' },
],
},
title="Page Meta Title"
description="This will be the page meta description"
canonical="https://www.canonicalurl.ie/"
openGraph={{
url: 'https://www.canonicalurl.ie/',
title: 'Open Graph Title',
description: 'Open Graph Description',
images: [
{
url: 'https://www.example.ie/og-image-01.jpg',
width: 800,
height: 600,
alt: 'Og Image Alt',
},
{
url: 'https://www.example.ie/og-image-02.jpg',
width: 900,
height: 800,
alt: 'Og Image Alt Second',
},
{ url: 'https://www.example.ie/og-image-03.jpg' },
{ url: 'https://www.example.ie/og-image-04.jpg' },
],
}}
/>
<h1>SEO Added to Page</h1>
Expand Down

0 comments on commit 1b87e5a

Please sign in to comment.