You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have just started using Next SEO so hopefully I haven't just missed something completely obvious.
I Next SEO setup the following way:
next-seo.config.ts
// next-seo.config.ts
import type { NextSeoProps } from 'next-seo';
export const NEXT_SEO_DEFAULT: NextSeoProps = {
title: 'The Wilson Net built by Brent Wilson',
description:
'The Wilson Net is a place for Brent Wilson to showcase his life.',
openGraph: {
type: 'website',
locale: 'en_IE',
url: 'https://www.thewilsonnet.com',
title: 'The Wilson Net built by Brent Wilson',
description:
'The Wilson Net is a place for Brent Wilson to showcase his life.',
images: [
{
url: 'https://www.test.ie/og-image-a-01.jpg',
width: 800,
height: 600,
alt: 'Og Image Alt A',
type: 'image/jpeg',
secureUrl: 'https://www.test.ie/secure-og-image-a-01.jpg',
},
],
siteName: 'The Wilson Net',
},
twitter: {
handle: '@brentwilson85',
cardType: 'summary_large_image',
},
};
import { NextSeo } from 'next-seo';
import { NEXT_SEO_DEFAULT } from './next-seo.config';
import type { NextSeoProps } from 'next-seo';
export default function Head() {
const updateMeta: NextSeoProps = {
...NEXT_SEO_DEFAULT,
title: 'The Wilson Net by Brent Wilson',
description: 'The Wilson Net is a place for Brent Wilson to showcase his life.',
titleTemplate: '%s',
};
return (
<NextSeo {...updateMeta} useAppDir={true} />
)
}
head.tsx for /resume
import { NextSeo } from 'next-seo';
import { NEXT_SEO_DEFAULT } from '../../next-seo.config';
import type { NextSeoProps } from 'next-seo';
export default function Head() {
const updateMeta: NextSeoProps = {
...NEXT_SEO_DEFAULT,
title: 'Richard Brent Wilson\'s Resume',
description: 'A detailed resume for Richard Brent Wilson',
titleTemplate: '%s',
};
return (
<NextSeo {...updateMeta} useAppDir={true} />
)
}
Reproduction
The site is live here and you can click around and see that the title tag and meta desc does not change.
Describe the bug
I have just started using Next SEO so hopefully I haven't just missed something completely obvious.
I Next SEO setup the following way:
next-seo.config.ts
layout.tsx
head.tsx for root (homepage)
head.tsx for /resume
Reproduction
The site is live here and you can click around and see that the title tag and meta desc does not change.
https://thewilsonnet.com/
Expected behavior
The title and desc should update to reflect what page you are on.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: