-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
63 lines (63 loc) · 1.58 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
module.exports = {
siteMetadata: {
title: 'Musician · composer · producer',
titleTemplate: '%s | Whitesand',
description:
'Cinematic music composer and producer. Creator of royalty-free music YouTube channel Whitesand.',
url: 'https://www.whitesandmusic.com',
image: '/images/logo-dark.png',
},
plugins: [
'gatsby-plugin-image',
'gatsby-plugin-react-helmet',
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: './src/assets/images/',
},
__key: 'images',
},
'gatsby-transformer-json',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'music',
path: './src/assets/music/',
},
},
'gatsby-plugin-postcss',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Whitesand',
short_name: 'Whitesand',
start_url: '/',
background_color: '#111111',
theme_color: '#ECE9E4',
display: 'standalone',
icon: 'src/assets/images/logo-dark.png',
},
},
{
resolve: 'gatsby-plugin-netlify',
options: {
headers: {
// Cache fonts forever
'/fonts/*': [
'Cache-Control: public',
'Cache-Control: max-age=365000000',
'Cache-Control: immutable',
],
// Cache static files for a week
'/static/*': [
'Cache-Control: public',
'Cache-Control: max-age=604800',
],
},
},
},
],
};