-
Notifications
You must be signed in to change notification settings - Fork 1
/
next-seo.config.ts
89 lines (86 loc) · 1.8 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import type { DefaultSeoProps } from 'next-seo';
const title = 'Slug | URL shortener';
export const description =
'slug is an open source link managment platform to short your links made for devs.';
export const domain = 'https://slug.codingcodax.dev';
const SEO: DefaultSeoProps = {
title,
description,
canonical: domain,
openGraph: {
type: 'website',
locale: 'en_IE',
url: domain,
title,
description,
siteName: 'title',
images: [
{
url: `${domain}/_static/og.png`,
alt: 'title',
width: 1200,
height: 675,
},
],
},
twitter: {
handle: '@codingcodax',
site: '@codingcodax',
cardType: 'summary_large_image',
},
additionalMetaTags: [
{
name: 'apple-mobile-web-app-tittle',
content: title,
},
{
name: 'application-name',
content: title,
},
{
name: 'msapplication-TileColor',
content: '#0e0e11',
},
{
name: 'theme-color',
content: '#0e0e11',
},
{
name: 'msapplication-config',
content: '/_static/favicons/browserconfig.xml',
},
],
additionalLinkTags: [
{
rel: 'apple-touch-icon',
sizes: '180x180',
href: '/_static/favicons/apple-touch-icon.png',
},
{
rel: 'icon',
type: 'image/png',
sizes: '32x32',
href: '/_static/favicons/favicon-32x32.png',
},
{
rel: 'icon',
type: 'image/png',
sizes: '16x16',
href: '/_static/favicons/favicon-16x16.png',
},
{
rel: 'icon',
href: '/_static/favicons/favicon.ico',
},
{
rel: 'manifest',
href: '/_static/favicons/site.manifest',
},
{
rel: 'mask-icon',
href: '/_static/favicons/safari-pinned-tab.svg',
color: '#0e0e11',
},
],
};
export default SEO;