-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
219 lines (213 loc) · 6.13 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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`,
});
module.exports = {
siteMetadata: {
websiteName: `Gatsby Theme "Naked" core`,
logo: `naked-logo.png`,
websiteDescription: `If HTML is the structure, and JavaScript the action, then CSS is the clothing. You just need to add CSS and content. This is the Gatsby Theme Naked. Just like what you wear in life, what your site wears is very personal. CSS in Js, check! No problem. CSS Modules, check! No Problem. Styled component libraries of different flavors? Check! No problem.`,
menuLinks: [
{
id: 1,
name: 'home',
link: '/',
},
{
id: 2,
name: 'blog',
link: '/blog',
},
{
id: 3,
name: 'tutorials',
link: '/tutorials',
},
{
id: 4,
name: 'contact',
link: '/contact',
},
],
author: `David Kartuzinski`,
authorIntro: `David Kartuzinski is a Web Developer who loves open source and loves Gatsby.Js. Hire him today for your next project or unfilled job.`,
authorImage: `david-kartuzinski.jpg`,
siteUrl: `https://gatsythemenakedcore.gtsb.io`,
legalName: `A Gatsby Naked Theme`,
locale: `en-US`,
textDirection: `ltr`,
socialLinks: {
twitter: 'https://twitter.com/NakedGatsby',
instagram: 'https://www.instagram.com/nakedgatsby/',
pinterest: '#',
facebook: '#',
},
// googleAnalyticsID: "UA-158642528-1",
themeColor: '#F3824A',
backgroundColor: '#FFF7F0',
siteRss: '/rss.xml',
social: {
facebook: '',
twitter: '@NakedGatsby',
twitterAuthor: '@kai_dawei',
},
address: {
city: 'Paris',
region: 'Ile de France',
country: 'France',
zipCode: '75015',
},
contact: {
email: '[email protected]',
phone: '',
twitter: 'https://twitter.com/kai_dawei',
linkedin: 'https://www.linkedin.com/in/kaidawei/',
github: 'https://github.com/davidkartuzinski/',
},
foundingDate: '2019',
},
plugins: [
{
resolve: `gatsby-plugin-breadcrumb`,
options: {
useAutoGen: true,
autoGenHomeLabel: `Home`,
exclude: [
`**/dev-404-page/**`,
`**/404/**`,
`**/404.html`,
`**/offline-plugin-app-shell-fallback/**`,
],
crumbLabelUpdates: [],
},
},
'gatsby-plugin-sitemap',
{
resolve: 'gatsby-plugin-manifest',
options: {
icon: 'src/images/icon.png',
},
},
{
resolve: `gatsby-plugin-mdx`,
options: {
extensions: [`.mdx`, `.md`],
gatsbyRemarkPlugins: [
{
resolve: `gatsby-remark-images`,
options: {
markdownCaptions: true,
linkImagesToOriginal: false,
showCaptions: [`title`, `alt`],
maxWidth: 590,
},
},
],
},
},
'gatsby-plugin-image',
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: './src/images/',
},
__key: 'images',
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'pages',
path: './src/pages/',
},
__key: 'pages',
},
{
// for the actual MDX files representing the blog posts.
resolve: 'gatsby-source-filesystem',
options: {
name: `blog`,
path: `${__dirname}/blog`,
},
},
// https://manifest-validator.appspot.com/
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `GatsbyThemeNaked`,
short_name: `NakedTheme`,
description: `If HTML is the structure, and JavaScript the action, then CSS is the clothing. You just need to add CSS and content. This is the Gatsby Theme Naked. Just like what you wear in life, what your site wears is very personal. CSS in Js, check! No problem. CSS Modules, check! No Problem. Styled component libraries of different flavors? Check! No problem.`,
start_url: `/`,
background_color: `#FFF7F0`,
theme_color: `#F3824A`,
lang: `en`,
display: `standalone`,
icon: `src/images/icon.png`,
icons: [
{
src: `src/images/favicons/android-chrome-192x192.png`,
sizes: `192x192`,
type: `image/png`,
},
{
src: `src/images/favicons/android-chrome-512x512.png`,
sizes: `512x512`,
type: `image/png`,
},
{
src: `src/images/favicons/apple-touch-icon.png`,
sizes: `180x180`,
type: `image/png`,
},
{
src: `src/images/favicons/favicon-16x16.png`,
sizes: `16x16`,
type: `image/png`,
},
{
src: `src/images/favicons/favicon-32x32.png`,
sizes: `32x32`,
type: `image/png`,
},
{
src: `src/images/favicons/favicon-32x32.png`,
sizes: `32x32`,
type: `image/png`,
},
{
src: `src/images/favicons/mstile-150x150.png`,
sizes: `150x150`,
type: `image/png`,
},
{
src: `src/images/favicons/safari-pinned-tab.svg`,
sizes: `1467x1467`,
type: `image/svg`,
},
],
},
},
`gatsby-plugin-offline`,
{
resolve: 'gatsby-plugin-mailchimp',
options: {
endpoint:
'https://kaidawei.us3.list-manage.com/subscribe/post?u=b96fce7934d3d67838002705e&id=87c55442ce', // add your MailChimp list endpoint here; see instructions below
},
},
{
resolve: `gatsby-source-instagram-all`,
options: {
access_token: process.env.INSTAGRAM_API_KEY,
},
},
// Needed legacy mode on: Solition #1 from https://fluentprogramming.com/unable-to-resolve-dependency-tree-error-when-installing-npm-packages/
{
resolve: `gatsby-plugin-typography`,
options: {
pathToConfigModule: `./src/utils/typography`,
},
},
],
};