-
Notifications
You must be signed in to change notification settings - Fork 0
/
next-seo.config.js
80 lines (76 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
79
80
// More info on https://github.com/garmeeh/next-seo#readme
// Edit the canonical url
const canonicalUrl = ''
// Edit the default title
const defaultTitle = 'Default title'
const defaultDescription = 'Default description'
// 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: '#81e6d9',
},
],
additionalMetaTags: [
{
name: 'msapplication-TileColor',
// Edit the tile color (windows)
content: '#81e6d9',
},
{
name: 'theme-color',
// Edit the full background color (android)
content: '#ffffff',
},
],
openGraph: {
title: defaultTitle,
description: defaultDescription,
type: 'website',
locale: 'en_IE',
url: canonicalUrl,
images: [
{
// Add your custom image for sharing
url: 'https://via.placeholder.com/1200x630',
width: 1200,
height: 630,
alt: 'Preview of the website',
},
],
},
// Edit the twitter info or delete
twitter: {
handle: '@handle',
site: '@site',
cardType: 'summary_large_image',
},
}
export default SEO