-
Notifications
You must be signed in to change notification settings - Fork 2
/
gatsby-config.js
57 lines (57 loc) · 1.53 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
module.exports = {
siteMetadata: {
author: `R.G.`,
name: 'R.G. Blog',
description: 'Blog about web tech for developers.',
keywords: [
'tech',
'gatsby',
'fp',
'functional programming',
'cli',
'typescript',
'react',
'nodejs',
'web',
],
siteUrl: 'https://iamrhino.com',
siteImage: 'headshot.jpg', // pop an image in the static folder to use it as the og:image,
profileImage: 'headshot.jpg',
lang: `eng`,
config: {
sidebarWidth: 240, // optional,
},
},
plugins: [
`gatsby-plugin-graphql-codegen`,
`gatsby-plugin-sitemap`,
`gatsby-plugin-mdx-embed`,
`gatsby-plugin-image`,
`gatsby-transformer-sharp`,
{
resolve: `gatsby-plugin-sharp`,
options: {
defaults: {
quality: 70,
formats: ['auto', 'webp', 'avif'],
placeholder: 'blurred',
},
},
},
{
resolve: `@pauliescanlon/gatsby-theme-terminal`,
options: {
source: [
{
name: 'posts',
dir: 'posts',
},
{
name: 'projects',
dir: 'projects',
},
],
},
},
],
};