/
gatsby-config.js
62 lines (62 loc) 路 1.52 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
module.exports = {
siteMetadata: {
title: 'Jake Walker',
author: 'Jake Walker',
description: "Hi! I'm Jake Walker a tech enthusiast and developer living in the United Kingdom.",
siteUrl: 'https://jakew.me/',
ogImage: 'https://jakew.me/img/avatar2bg.png',
twitterUsername: '@_jakewalker1',
},
plugins: [
'gatsby-remark-images',
'gatsby-plugin-image',
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
'gatsby-plugin-sass',
'gatsby-plugin-sitemap',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Jake Walker',
short_name: 'Jake Walker',
start_url: '/',
background_color: '#f8f9fa',
theme_color: '#8000ff',
display: 'standalone',
icon: 'src/images/avatarbg.png',
},
},
{
resolve: 'gatsby-plugin-mdx',
options: {
extensions: ['.mdx', '.md'],
gatsbyRemarkPlugins: [
{
resolve: 'gatsby-remark-images',
options: {
maxWidth: 590,
},
},
'gatsby-remark-prismjs',
'gatsby-remark-copy-linked-files',
'gatsby-remark-heading-slug',
],
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'blog',
path: `${__dirname}/content/blog/`,
},
},
'gatsby-plugin-next-seo',
'gatsby-plugin-sitemap',
{
resolve: 'gatsby-plugin-canonical-urls',
options: {
siteUrl: 'https://jakew.me',
},
},
],
};