-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
97 lines (97 loc) · 2.22 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
module.exports = {
siteMetadata: {
title: `Code Revamp`,
name: `Code Revamp`,
siteUrl: `http://coderevamp.com/`,
description: `A Houssam Yahiaoui Technical Blog.`,
hero: {
heading: `Let's write some 🆒 code ~!`,
maxWidth: 652,
},
social: [{
name: `twitter`,
url: `https://twitter.com/_hcodex`,
},
{
name: `github`,
url: `https://github.com/houssem-yahiaoui`,
},
{
name: `linkedin`,
url: `https://www.linkedin.com/in/houssemyahiaoui/`,
},
],
},
plugins: [{
resolve: `gatsby-plugin-offline`,
options: {
precachePages: [],
},
},
{
resolve: "@narative/gatsby-theme-novela",
options: {
contentPosts: "content/posts",
contentAuthors: "content/authors",
basePath: "/",
authorsPage: true,
mailchimp: true,
sources: {
local: true
},
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Code Revamp`,
short_name: `Code Revamp`,
start_url: `/`,
background_color: `#fff`,
theme_color: `#fff`,
display: `standalone`,
icon: `src/assets/favicon.png`,
},
},
{
resolve: 'gatsby-plugin-mailchimp',
options: {
endpoint: 'https://coderevamp.us8.list-manage.com/subscribe/post?u=0eb44a3f2b3dfcbf457e9790d&id=a7fc6d4de2', // add your MC list endpoint here; see plugin repo for instructions
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: `UA-164605774-1`
}
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [{
resolve: 'gatsby-remark-audio',
options: {
preload: 'auto',
loop: false,
controls: true,
muted: false,
autoplay: false
}
}, ]
}
},
{
resolve: 'gatsby-remark-video',
options: {
width: 800,
height: 'auto',
preload: 'auto',
muted: true,
autoplay: true,
playsinline: true,
controls: true,
loop: true
}
}
],
};