-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgatsby-config.js
72 lines (72 loc) · 1.8 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
module.exports = {
siteMetadata: {
siteTitle: `Refugees Code`,
defaultTitle: `Refugees Code`,
siteTitleShort: `Refugees Code`,
siteDescription: `Self-led student material to go through RefugeesCode frontend course`,
siteUrl: `https://refugees-code-material.netlify.app/`,
siteAuthor: `Refugees Code`,
siteImage: `/refugees-code.jpg`,
siteLanguage: `en`,
themeColor: `#1C2250`,
basePath: `/`,
},
flags: { PRESERVE_WEBPACK_CACHE: true },
plugins: [
`gatsby-plugin-sharp`,
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 800,
},
},
],
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/static`,
},
},
{
resolve: `@rocketseat/gatsby-theme-docs`,
options: {
configPath: `src/config`,
docsPath: `src/docs`,
repositoryUrl: `https://github.com/rocketseat/gatsby-themes`,
baseDir: `examples/gatsby-theme-docs`,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Rocketseat Gatsby Themes`,
short_name: `RS Gatsby Themes`,
start_url: `/`,
background_color: `#ffffff`,
display: `standalone`,
icon: `static/favicon.png`,
},
},
`gatsby-plugin-sitemap`,
// {
// resolve: `gatsby-plugin-google-analytics`,
// options: {
// trackingId: `YOUR_ANALYTICS_ID`,
// },
// },
`gatsby-plugin-remove-trailing-slashes`,
{
resolve: `gatsby-plugin-canonical-urls`,
options: {
siteUrl: `https://rocketdocs.netlify.com`,
},
},
`gatsby-plugin-offline`,
],
};