-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgatsby-config.js
More file actions
91 lines (87 loc) · 2.38 KB
/
gatsby-config.js
File metadata and controls
91 lines (87 loc) · 2.38 KB
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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
require("dotenv").config()
const queries = require("./src/utils/algolia")
module.exports = {
/* Your site config here */
siteMetadata: {
title: `Queenscript`,
description: `A blog of musings on javascript and beyond.`,
siteUrl: `https://queenscript.com/`,
home: {
title: `Queenscript`,
description: `I have been specifically designed to become a digital home for designers and developers, help them build amazing professional looking websites with ease.`,
},
/* W3Layouts domain verification key for contact forms https://my.w3layouts.com/Forms/ */
w3l_dom_key: `5e609f7a2d23fCF_Domain_verify`
},
plugins: [
{
resolve: `gatsby-plugin-algolia`,
options: {
appId: process.env.GATSBY_ALGOLIA_APP_ID,
apiKey: process.env.ALGOLIA_ADMIN_KEY,
indexName: process.env.ALGOLIA_INDEX_NAME,
queries,
chunkSize: 10000, // default: 1000
},
},
`gatsby-plugin-styled-components`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `markdown-pages`,
path: `${__dirname}/_data`,
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
numberLines: true,
plugins: [
{
resolve: `gatsby-remark-embed-snippet`,
options: {
directory: `${__dirname}/content/snippets/`,
},
},
{
resolve: "gatsby-remark-external-links",
options: {
target: "_blank",
rel: "nofollow"
}
},
`gatsby-remark-reading-time`,
{
resolve: `gatsby-remark-prismjs`,
options: {
classPrefix: "language-",
aliases: {},
inlineCodeMarker: null,
aliases: {},
showLineNumbers: true,
noInlineHighlight: false,
},
},
{
resolve: 'gatsby-remark-emojis',
}],
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
// The property ID; the tracking code won't be generated without it
// trackingId: ,
head: true,
}
},
`gatsby-plugin-sass`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-netlify-cms`,
],
}