-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
49 lines (48 loc) · 1.41 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
const path = require('path')
const ghostConfig = require('./ghostConfig.json')
module.exports = {
pathPrefix: '/main-website',
siteMetadata: {
title: `cuHacking`,
description: `We strive to give students the means to enhance their technical skills, make new friends, and create genuine connections with industry professionals so they can propel themselves to new heights.`,
author: `@cuhacking`
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`
}
},
{
resolve: 'gatsby-plugin-root-import',
options: {
src: path.join(__dirname, 'src'),
components: path.join(__dirname, 'src/components'),
layouts: path.join(__dirname, 'src/layouts'),
images: path.join(__dirname, 'src/images')
}
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `cuHacking-main-website`,
short_name: `cuHacking`,
start_url: `/`,
background_color: `#fff`,
theme_color: `#7c39bf`,
display: `minimal-ui`,
icon: `src/images/favicon.png` // This path is relative to the root of the site.
}
},
`gatsby-plugin-styled-components`,
{
resolve: `gatsby-source-ghost`,
options: ghostConfig
}
]
}