This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
60 lines (59 loc) · 1.49 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
require("dotenv").config({
path: `.env`,
})
module.exports = {
siteMetadata: {
title: `Abhisek Mazumdar`,
description: `Know about Me | Blogs | Tech News | Fun Facts`,
url: "https://www.abhisek.xyz",
image: "/icons/icon-512x512.png",
keywords: ["blogs", "news", "cv", "technology", "drupal", "javascript"],
author: `@abhisekmajumdar`,
twitterUsername: "@abhisekmajumdar",
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-sass`,
{
resolve: `gatsby-source-drupal`,
options: {
baseUrl: `https://dev-abhisek-xyz.pantheonsite.io`,
apiBase: `jsonapi`,
basicAuth: {
username: process.env.BASIC_AUTH_USERNAME,
password: process.env.BASIC_AUTH_PASSWORD,
},
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `gatsby-starter-default`,
short_name: `starter`,
start_url: `/`,
background_color: `#001845`,
theme_color: `#001845`,
display: `minimal-ui`,
icon: `src/images/icon.png`,
},
},
{
resolve: "gatsby-plugin-use-dark-mode",
options: {
classNameDark: "dark-mode",
classNameLight: "light-mode",
storageKey: "darkMode",
minify: true,
},
},
],
}