-
Notifications
You must be signed in to change notification settings - Fork 0
/
next-seo.config.js
78 lines (74 loc) · 1.72 KB
/
next-seo.config.js
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
// More info on https://github.com/garmeeh/next-seo#readme
// Edit the canonical url
const canonicalUrl = ''
// Edit the default title
const defaultTitle = 'Shortly'
const defaultDescription =
'Build your brand’s recognition and get detailed insights on how your links are performing.'
// Edit the SEO parameters
export const SEO = {
defaultTitle: defaultTitle,
titleTemplate: `${defaultTitle} | %s`,
canonical: canonicalUrl,
additionalLinkTags: [
{
rel: 'icon',
href: 'favicons/favicon-16x16.png',
type: 'image/png',
sizes: '16x16',
},
{
rel: 'icon',
href: 'favicons/favicon-32x32.png',
type: 'image/png',
sizes: '32x32',
},
{
rel: 'apple-touch-icon',
href: 'favicons/apple-touch-icon.png',
sizes: '180x180',
},
{
rel: 'manifest',
href: 'favicons/site.webmanifest',
},
{
rel: 'mask-icon',
href: 'favicons/safari-pinned-tab.svg',
// Edit the touch bar background color
color: '#232127',
},
],
additionalMetaTags: [
{
name: 'msapplication-TileColor',
// Edit the tile color (windows)
content: '#232127',
},
{
name: 'theme-color',
// Edit the full background color (android)
content: '#232127',
},
],
openGraph: {
title: defaultTitle,
description: defaultDescription,
type: 'website',
locale: 'en_IE',
url: canonicalUrl,
images: [
{
url: 'https://www.dropbox.com/s/3zvp71cwx4nm2st/shortly-ogimage.jpg?raw=1',
width: 1200,
height: 630,
alt: 'Preview of the website',
},
],
},
twitter: {
handle: '@anhek_',
cardType: 'summary_large_image',
},
}
export default SEO