-
Notifications
You must be signed in to change notification settings - Fork 3
/
meta-data.js
66 lines (65 loc) · 1.8 KB
/
meta-data.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
const config = require('./SiteConfig')
// This is called by MetaData component as the default meta data for SEO
module.exports = {
// Default <title />
title:
'Clinic.js - An Open Source Node.js performance profiling suite by NearForm',
// Appended to the end of all custom titles (with - separator)
titleSuffix: 'Clinic.js',
// Programatically creates <meta name="KEY" content="VALUE" /> by iterating through object
metaTags: [
{
name: 'description',
content:
'Clinic.js is a suite of tools to help diagnose and pinpoint your Node.js performance issues.'
},
{
name: 'twitter:description',
content:
'Clinic.js is a suite of tools to help diagnose and pinpoint your Node.js performance issues.'
},
{
property: 'og:description',
content:
'Clinic.js is a suite of tools to help diagnose and pinpoint your Node.js performance issues.'
},
{
name: 'twitter:title',
content:
'Clinic.js - An Open Source Node.js performance profiling suite by NearForm'
},
{
property: 'og:title',
content:
'Clinic.js - An Open Source Node.js performance profiling suite by NearForm'
},
{
name: 'twitter:card',
content: 'summary_large_image'
},
{
name: 'twitter:creator',
content: '@NearForm'
},
{
name: 'twitter:site',
content: '@NearForm'
},
{
property: 'og:image',
content: `${config.siteUrl}${
config.pathPrefix
}assets/images/clinic-social-media-image.png`
},
{
name: 'twitter:image',
content: `${config.siteUrl}${
config.pathPrefix
}assets/images/clinic-social-media-image.png`
},
{
property: 'og:url',
content: `${config.siteUrl}${config.pathPrefix}`
}
]
}