-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
70 lines (69 loc) · 1.88 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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.com/docs/gatsby-config/
*/
module.exports = {
/* Your site config here */
siteMetadata: {
title: 'Oakwood Guitar School',
description: 'Oakwood Guitar School provides fun, engaging and goal-oriented music lessons for students of all ages.',
robots: 'index,follow',
url: 'https://oakwoodguitarschool.com',
type: 'website',
image: 'ogs_social_banner.png',
imageAlt: 'An image of the Oakwood Guitar School homepage featuring a photo of electric guitars and the site title.',
},
plugins: [
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-transformer-remark`,
`gatsby-plugin-sass`,
`gatsby-plugin-transition-link`,
`gatsby-plugin-catch-links`,
`gatsby-plugin-smoothscroll`,
`gatsby-plugin-react-helmet`,
'gatsby-plugin-htaccess',
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-images`,
options: {
// It's important to specify the maxWidth (in pixels) of
// the content container as this plugin uses this as the
// base for generating different widths of each image.
maxWidth: 2000,
},
},
],
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: 'images',
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/markdown-pages`,
name: `markdown-pages`,
},
},
{
resolve: 'gatsby-plugin-htaccess',
options: {
https: true,
ErrorDocument: `
ErrorDocument 401 /401.html
ErrorDocument 404 /404.html
ErrorDocument 500 /500.html
`,
},
},
],
}