forked from Calinou/GDevelop-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
101 lines (101 loc) · 2.57 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
module.exports = {
siteMetadata: {
title: 'GDevelop - Make your own games with no programming skills',
},
plugins: [
`gatsby-plugin-styled-components`,
'gatsby-plugin-react-helmet',
'gatsby-plugin-sass',
'gatsby-plugin-twitter',
{
resolve: `gatsby-plugin-google-fonts`,
options: {
// fonts: [`Asap:400,600`, `Roboto`],
fonts: [`PT Sans:400`, `Roboto`],
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: `UA-9116535-1`,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: 'GDevelop website',
short_name: 'GDevelop website',
background_color: '#ffffff',
theme_color: '#9746c1',
icons: [
{
// Everything in /static will be copied to an equivalent
// directory in /public during development and build, so
// assuming your favicons are in /static/favicons,
// you can reference them here
src: `/favicons/favicon.ico`,
sizes: `256x256`,
type: `image/png`,
},
],
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/src/pages`,
name: 'pages',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/src/img`,
name: 'images',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/blog/posts`,
name: 'blog',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/blog/authors`,
name: 'authors',
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
excerpt_separator: `<!-- end -->`,
plugins: [
{
resolve: `gatsby-remark-embed-video`,
options: {
containerClass: 'embedVideo-container',
},
}, // Auto embed video links as iframes
{ resolve: `gatsby-remark-images` },
{
resolve: `gatsby-remark-prismjs`,
options: {
aliases: {
js: 'javascript',
sh: 'bash',
py: 'python',
},
},
}, // JS Code highlighting
{ resolve: `gatsby-remark-copy-linked-files` },
{ resolve: `gatsby-remark-smartypants` }, // Smart punctuation
],
},
},
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
],
};