-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
91 lines (91 loc) · 2.42 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
module.exports = {
siteMetadata: {
title: `Cairo University Eco-Racing Team`,
description: `Keep up with the latest news about Cairo university eco-racing team competing in Shell Eco-marathon competition.`,
author: `@cu-eco-team`,
siteUrl: `https://cairoecoteam.netlify.app/`,
},
plugins: [
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "UA-180703192-1",
head: true,
},
},
`gatsby-plugin-react-helmet`,
`gatsby-plugin-sitemap`,
`gatsby-plugin-robots-txt`,
`gatsby-plugin-layout`,
{
resolve: `gatsby-plugin-sharp`,
options: {
defaultQuality: 75,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Cairo University Eco-Racing Team`,
short_name: `Cairo University Eco-Team`,
description: `Keep up with the latest news about Cairo university eco-racing team competing in Shell Eco-marathon competition.`,
lang: `en`,
start_url: `/`,
background_color: `#f2f2f2`,
theme_color: `#5599ff`,
display: `standalone`,
icon: `src/images/shell-icon.png`,
},
},
{
resolve: `gatsby-plugin-google-fonts`,
options: {
fonts: [
"material icons",
"quicksand:600",
"open sans:400,400i,700,700i",
"roboto:400,400i,700,700i",
"noto sans:400,700",
],
display: "swap",
},
},
`gatsby-transformer-sharp`,
{
resolve: `gatsby-plugin-mdx`,
options: {
gatsbyRemarkPlugins: [
{
resolve: `gatsby-remark-copy-linked-files`,
options: {
destinationDir: f => `content/${f.name}`,
ignoreFileExtensions: [`png`, `jpg`, `jpeg`],
},
},
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 1024,
quality: 75,
},
},
`gatsby-remark-embedder`,
],
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `resources`,
path: `${__dirname}/src/content/resources`,
},
},
],
}