forked from layer5io/layer5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
157 lines (156 loc) · 3.83 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
/* eslint-env node */
module.exports = {
siteMetadata: {
title: "Layer5 - The Service Mesh Company",
description: "Making service meshes available to the rest of us. Open source software for management of service meshes. Allowing developers to focus on business logic, not infrastructure concerns. Empowering operators to confidentally run modern infrastructure.",
author: "Layer5 Authors",
siteUrl: "https://layer5.io/",
},
plugins: [
"gatsby-plugin-sitemap",
"gatsby-plugin-react-helmet",
// "gatsby-plugin-preload-fonts",
{
resolve: "gatsby-plugin-google-gtag",
options: {
trackingIds: [
"G-MDVP5FT6JY",
],
gtagConfig: {
anonymize_ip: true,
},
pluginConfig: {
head: false,
},
},
},
{
resolve: "gatsby-plugin-styled-components",
options: {
minify: false,
},
},
{
resolve: "gatsby-plugin-anchor-links",
options: {
offset: -50,
},
},
{
resolve: "gatsby-plugin-mdx",
options: {
extensions: [".mdx", ".md"],
},
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "images",
path: `${__dirname}/src/assets/images`,
},
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "communityImageSlider",
path: `${__dirname}/src/assets/images/Community-pictures`,
},
},
{
resolve: "gatsby-source-filesystem",
options: {
path: `${__dirname}/src/collections/blog`,
name: "blog",
},
},
{
resolve: "gatsby-source-filesystem",
options: {
path: `${__dirname}/src/collections/news`,
name: "news",
},
},
{
resolve: "gatsby-source-filesystem",
options: {
path: `${__dirname}/src/collections/projects`,
name: "projects",
},
},
{
resolve: "gatsby-source-filesystem",
options: {
path: `${__dirname}/src/collections/service-mesh-books`,
name: "service-mesh-books",
},
},
{
resolve: "gatsby-source-filesystem",
options: {
path: `${__dirname}/src/collections/programs`,
name: "programs",
},
},
{
resolve: "gatsby-source-filesystem",
options: {
path: `${__dirname}/src/collections/careers`,
name: "careers",
},
},
{
resolve: "gatsby-source-filesystem",
options: {
path: `${__dirname}/src/collections/members`,
name: "members",
},
},
{
resolve: "gatsby-source-filesystem",
options: {
path: `${__dirname}/src/collections/service-mesh-workshops`,
name: "service-mesh-workshops",
},
},
{
resolve: "gatsby-source-filesystem",
options: {
path: `${__dirname}/src/collections/service-mesh-labs`,
name: "service-mesh-labs",
},
},
{
resolve: "gatsby-source-filesystem",
options: {
path: `${__dirname}/src/collections/events`,
name: "events",
},
},
"gatsby-plugin-sharp",
{
resolve: "gatsby-transformer-sharp",
options: {
checkSupportedExtensions: false, // suppress warning about childImageSharp being null
},
},
{
resolve: "gatsby-plugin-manifest",
options: {
name: "gatsby-starter-default",
short_name: "starter",
start_url: "/",
background_color: "#3c494f",
theme_color: "#00b39f",
display: "minimal-ui",
icon: "src/assets/images/favicon.png", // This path is relative to the root of the site.
},
},
{
resolve: "gatsby-redirect-from",
options: {
query: "allMdx"
}
},
"gatsby-plugin-meta-redirect" // make sure this is always the last one
],
};