-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
133 lines (133 loc) · 3.75 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
module.exports = {
siteMetadata: {
title: `Codebrahma`,
description: `ReactJS and ReactNative based software development studio
based out of San Francisco. We take your design files & api docs.
And give you a fast mobile and browser app.
You focus on your backend business logic!
`,
author: `@codeanand`,
siteUrl: `https://codebrahma.com`
},
plugins: [
`gatsby-plugin-preload-fonts`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-react-helmet-canonical-urls`,
options: {
siteUrl: `https://codebrahma.com`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-netlify`,
`gatsby-plugin-sitemap`,
{
resolve: `@codebrahma/gatsby-theme-blog`,
options: {
contentPath: `posts`,
itemsPerPage: 8,
mdx: false
}
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `gatsby-starter-default`,
short_name: `starter`,
start_url: `/`,
background_color: `#663399`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/images/logos/cb.png`, // This path is relative to the root of the site.
},
},{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "UA-41862404-1"
}
},
{
resolve: `gatsby-plugin-mdx`,
options: {
extensions: [`.mdx`, `.md`],
defaultLayouts: {
posts: require.resolve("./src/templates/blog-post-layout.js"),
solutions: require.resolve("./src/templates/solutions-layout.js"),
projects: require.resolve("./src/templates/project-layout.js"),
default: require.resolve("./src/templates/layout.js"),
},
gatsbyRemarkPlugins: [
{
resolve: "gatsby-remark-images",
options: {
maxWidth: 1035,
backgroundColor: "none",
},
},
{
resolve: `gatsby-remark-prismjs`,
options: {
classPrefix: "language-",
inlineCodeMarker: null,
showLineNumbers: false,
},
},
{
resolve: `gatsby-remark-copy-linked-files`,
},
{
resolve: `gatsby-remark-autolink-headers`,
options: {
icon: false
}
},
],
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `posts`,
path: `${__dirname}/posts/`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `solutions`,
path: `${__dirname}/solutions/`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `projects`,
path: `${__dirname}/projects/`,
},
},
{
resolve: 'gatsby-plugin-crisp-chat',
options: {
websiteId: '1b39c921-d904-4ecb-953f-f220ace654b6',
enableDuringDevelop: false, // Optional. Disables Crisp Chat during gatsby develop. Defaults to true.
defer: true, // Optional. Sets the Crisp loading script to defer instead of async. Defaults to false.
enableImprovedAccessibility: false // Optional. Sets aria-label attribute on pop-up icon for screen readers. Defaults to true.
},
},
{
resolve: 'gatsby-plugin-zopfli',
options: { extensions: ['js', 'png'] }
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
],
}