forked from WorldBrain/Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
77 lines (76 loc) · 2.16 KB
/
gatsby-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
require('dotenv').config()
module.exports = {
siteMetadata: {
defaultTitle: `Memex by worldbrain.io`,
titleTemplate: ``,
defaultDescription: `Eliminate time spent bookmarking, retracing steps to recall a webpage, or copy-pasting notes into scattered documents.`,
twitterUsername: `@worldbrain`,
siteUrl: `https://worldbrain.io/`,
defaultImage: `https://worldbrain.io/icons/icon-270x270.png`
},
pathPrefix: '/gatsby-starter-blog',
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/pages`,
name: 'pages',
},
options: {
name: `img`,
path: `${__dirname}/src/img/`
}
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Memex by worldbrain.io`,
short_name: `Memex`,
start_url: `/`,
background_color: `#ffffff`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/assets/logo.png`,
},
},
`gatsby-plugin-react-helmet`,
{
resolve: 'gatsby-plugin-robots-txt',
options: {
host: 'https://worldbrain.io',
sitemap: 'https://worldbrain.io/sitemap.xml',
policy: [{ userAgent: '*', allow: '/' },
{userAgent: 'Baiduspider', disallow: ['/']},
{userAgent: 'YandexBot', disallow: ['/']},
{userAgent: 'Sogou', disallow: ['/']},
{userAgent: 'Exabot', disallow: ['/']},
{userAgent: 'AhrefsBot', disallow: ['/']},
{userAgent: 'BLEXBot', disallow: ['/']},
{userAgent: 'ia_archiver', disallow: ['/']}
]
}
},
{
resolve: 'gatsby-plugin-mailchimp',
options: {
endpoint: 'https://worldbrain.us9.list-manage.com/subscribe/post?u=de9ed6b3382658d5ebebfe2a4&id=f1b887a214',
},
},
{
resolve: `gatsby-plugin-styled-components`,
options: {
// any options here
},
},
/*{
resolve: 'gatsby-plugin-typography',
options: {
pathToConfigModule: 'src/utils/typography',
},
},*/
//'gatsby-plugin-layout'
`gatsby-plugin-offline`
],
}