forked from btholt/gatsby-course-starter
-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathgatsby-config.js
67 lines (67 loc) · 1.69 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
module.exports = {
siteMetadata: {
title: "Developer Productivity",
subtitle: "The skills you need to succeed",
author: "ThePrimeagen",
authorSubtitle: "https://twitch.tv/ThePrimeagen",
authorImage: "author.jpg", // this image should go in /static
courseImage: "courseImage.png", // this also should go in /static
twitter: "https://twitter.com/ThePrimeagen",
linkedin: "",
youtube: "https://youtube.com/ThePrimeagen",
twitch: "https://twitch.tv/ThePrimeagen",
github: "https://github.com/ThePrimeagen",
description:
"Developer Productivity helps every engineer take their career from junior to senior fast.",
keywords: [
"Programming",
"Linux",
"Developer",
"Productivity",
"Bash",
"Git",
"Vim",
"NeoVim",
"tmux",
],
},
pathPrefix: "dev-productivity",
plugins: [
{
resolve: "gatsby-plugin-react-svg",
options: {
rule: {
include: /src/,
},
},
},
`gatsby-plugin-sharp`,
`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,
},
},
],
},
},
],
};