-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
79 lines (77 loc) · 1.61 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
const path = require(`path`)
module.exports = {
plugins: [
"gatsby-plugin-netlify-cms",
{
resolve: "gatsby-source-filesystem",
options: {
path: `${__dirname}/gatsby-config.js`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `assets`,
path: `${__dirname}/static/images/`,
},
},
`gatsby-transformer-remark`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 1200,
},
},
],
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `portfolio-entries`,
path: `${__dirname}/content/portfolio`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `sections`,
path: `${__dirname}/content/sections`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `global-images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-json`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `data`,
path: `${__dirname}/src/data`,
},
},
`gatsby-plugin-react-helmet`,
],
siteMetadata: {
title: `Laurel Ronning`,
titleTemplate: `%s · Laurel Ronning`,
description: `International education`,
author: `Laurel Ronning`,
url: `https://www.laurelronning.netlify.app`, // No trailing slash allowed!
// image: `/assets/brand/logo.svg`, // Path to your image you placed in the 'static' folder
twitterUsername: `@braunecon`,
},
}
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
})