-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgridsome.config.js
More file actions
29 lines (27 loc) · 848 Bytes
/
gridsome.config.js
File metadata and controls
29 lines (27 loc) · 848 Bytes
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
// This is where project configuration and plugin options are located.
// Learn more: https://gridsome.org/docs/config
// Changes here require a server restart.
// To restart press CTRL + C in terminal and run `gridsome develop`
module.exports = {
siteName: "Clean Code: Javascript",
siteDescription:
"A guide to producing readable, reusable, and refactorable software in JavaScript by Ryan McDermott",
plugins: [
{
use: "@gridsome/source-filesystem",
options: {
path: "content/posts/**/*.md",
typeName: "Post",
route: "/blog/:slug"
}
}
],
transformers: {
//Add markdown support to all file-system sources
remark: {
externalLinksTarget: "_blank",
externalLinksRel: ["nofollow", "noopener", "noreferrer"],
plugins: ["@gridsome/remark-prismjs"]
}
}
};