-
Notifications
You must be signed in to change notification settings - Fork 4
/
next-seo.config.ts
39 lines (36 loc) · 931 Bytes
/
next-seo.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import type { DefaultSeoProps } from 'next-seo';
export const url =
process.env.NODE_ENV === 'production'
? `https://${process.env.NEXT_PUBLIC_URL}`
: 'http://localhost:3000';
const seo: DefaultSeoProps = {
titleTemplate: '%s | Ayush Gupta',
defaultTitle: 'Ayush Gupta',
description: 'A small corner on the internet which I call mine.',
additionalMetaTags: [
{
name: 'keywords',
content: 'ayush, ayush gupta, isitayush, blogs, projects, isitayush.dev',
},
],
openGraph: {
type: 'website',
locale: 'en_IN',
url: url,
siteName: 'Ayush Gupta',
images: [
{
url: `${url}/api/og`,
width: 1200,
height: 630,
alt: "This is me. I mean it's not me but I could'nt find a better logo.",
},
],
},
twitter: {
handle: '@is_it_ayush',
site: '@is_it_ayush',
cardType: 'summary_large_image',
},
};
export default seo;