-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
55 lines (55 loc) · 1.5 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
module.exports = {
siteMetadata: {
title: "Getting The Front End Job",
subtitle: "How To Get Employers To See And Love Your Work",
description:
"This is the description that will show up when people share as well as on search engines",
keywords: [
"this is",
"a list of keywords and phrase",
"that search engines",
"will index your page for"
]
},
//pathPrefix: "/my-repo-name", // if you're using GitHub Pages, put the name of the repo here with a leading slash
plugins: [
{
resolve: `gatsby-plugin-sharp`,
options: {
// Available options and their defaults:
base64Width: 20,
forceBase64Format: ``, // valid formats: png,jpg,webp
useMozJpeg: process.env.GATSBY_JPEG_ENCODER === `MOZJPEG`,
stripMetadata: true,
defaultQuality: 50
}
},
`gatsby-plugin-layout`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/lessons`,
name: "markdown-pages"
}
},
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
`gatsby-remark-autolink-headers`,
`gatsby-remark-copy-linked-files`,
`gatsby-remark-prismjs`,
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 800,
linkImagesToOriginal: true,
sizeByPixelDensity: false
}
}
]
}
}
]
};