-
Notifications
You must be signed in to change notification settings - Fork 185
/
gatsby-config.js
86 lines (85 loc) · 2.19 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
require('dotenv').config({ path: '.env.development' });
module.exports = {
siteMetadata: {
title: `Awesome Stacks`,
url: `https://awesomestacks.dev`,
description: `Discover awesome tech stacks for building different applications and features.`,
image: `/images/awesome-stacks-twitter-card-large-v3.png`,
imageWidth: 1688,
imageHeight: 883,
author: `@dzello`,
repository: `https://github.com/stackshareio/awesome-stacks`,
contributing: `https://github.com/stackshareio/awesome-stacks/blob/master/CONTRIBUTING.md`,
techStack: `https://stackshare.io/stackshare/awesome-stacks`
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
// {
// resolve: `gatsby-source-filesystem`,
// options: {
// name: `content-docs`,
// path: `${__dirname}/content/docs`,
// },
// },
{
resolve: `gatsby-source-filesystem`,
options: {
name: `content-stacks`,
path: `${__dirname}/content/stacks`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `content`,
path: `${__dirname}/content`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `readme-stacks`,
path: `${__dirname}/README.md`
},
},
`gatsby-plugin-sass`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-transformer-remark`,
options: {
filter: node => node.sourceInstanceName === `readme-stacks`
},
},
`gatsby-mdx`,
{
resolve: 'gatsby-plugin-html-attributes',
options: {
class: 'has-navbar-fixed-top'
}
},
`gatsby-plugin-favicon`,
`gatsby-transform-stacks`,
{
resolve: 'gatsby-source-apiserver',
options: {
url: `https://api.github.com/repos/stackshareio/awesome-stacks/contributors`,
name: "githubContributors"
}
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: `UA-41067622-2`,
respectDNT: true
}
}
]
}