-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgatsby-config.js
More file actions
88 lines (87 loc) · 2.09 KB
/
gatsby-config.js
File metadata and controls
88 lines (87 loc) · 2.09 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
const siteMetadata = {
title: `Gintaras Stankus`,
description: `Gintaras Stankus portfolio website.`,
image: `/static/favicon.png`,
siteUrl: `https://g1st.github.io`,
siteLanguage: `en-GB`,
siteLocale: `en_gb`,
twitterUsername: `@g1stas`,
twitter: `@g1st`,
author: `Gintaras Stankus`,
};
module.exports = {
siteMetadata,
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-mdx`,
options: {
extensions: [`.mdx`, `.md`],
gatsbyRemarkPlugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 590,
},
},
],
plugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 590,
},
},
],
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/assets/images`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `blog`,
path: `${__dirname}/content/blog`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `g1st portfolio`,
short_name: `g1st portfolio`,
start_url: `/`,
background_color: `#051622`,
theme_color: `#051622`,
display: `minimal-ui`,
icon: `static/favicon.png`, // This path is relative to the root of the site.
},
},
`gatsby-plugin-layout`,
`gatsby-plugin-styled-components`,
{
resolve: `gatsby-plugin-react-svg`,
options: {
rule: {
include: /assets/,
},
},
},
// {
// resolve: `gatsby-plugin-google-fonts`,
// options: {
// fonts: [`Open Sans\:400,600`, `Merriweather\:400`],
// display: `swap`,
// },
// },
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
],
};