-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
61 lines (59 loc) · 1.54 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
const os = require('os');
const galleryPath =
process.env.GALLERY_PATH ||
`${os.homedir()}/Library/Mobile Documents/com~apple~CloudDocs/Owl Path`;
console.log(`using gallery images at "${galleryPath}"`);
module.exports = {
siteMetadata: {
description: `The stories and adventures of two migrating owls.`,
siteName: `The Owl Path`,
siteUrl: `https://owlpath.aen.now.sh`,
title: `The Owl Path`,
},
plugins: [
`gatsby-plugin-feed`,
`gatsby-plugin-no-sourcemaps`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-sharp`,
`gatsby-plugin-styled-components`,
`gatsby-transformer-sharp`,
{
resolve: `gatsby-source-ical`,
options: {
name: `events`,
url: `https://p56-calendars.icloud.com/published/2/b5rWyG3PnwqB68JzYWutInzCp7qkzqZwg2Hjk2OzWeO_2VzVd-OAt5ptv5oInmm96ZJvFQj1QledKu0uwVCN-gsZLwBBhs3a5fo4TqPNDsg`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/posts`,
name: `posts`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: galleryPath,
name: `gallery`,
ignore: [`**/\.*`, `**/Icon*`],
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
`gatsby-remark-copy-linked-files`,
`gatsby-remark-smartypants`,
{
resolve: `gatsby-remark-images`,
options: {
quality: 70,
maxWidth: 800,
},
},
],
},
},
],
};