This repository has been archived by the owner on Feb 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
70 lines (69 loc) · 1.74 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
const languages = require('./languages');
const dotenv= require('dotenv')
if(process.env.NODE_ENV !== 'production') {
dotenv.config()
}
module.exports = {
pathPrefix: `/equalexperts-de`,
}
module.exports = {
siteMetadata: {
title: `Equal Experts`,
description: `Making software better`,
author: `helloDE@equalexperts.com`,
siteUrl: `https://www.equalexperts.de`,
languages,
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: 'gatsby-plugin-i18n',
options: {
langKeyForNull: 'any',
langKeyDefault: languages.defaultLangKey,
useLangKeyLayout: false,
prefixDefault : false,
}
},
`@contentful/gatsby-transformer-contentful-richtext`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sass`,
`gatsby-plugin-sharp`,
`gatsby-plugin-advanced-sitemap`,
{
resolve: 'gatsby-plugin-robots-txt',
options: {
host: 'https://www.equalexperts.de',
sitemap: 'https://www.equalexperts.de/sitemap.xml',
policy: [{ userAgent: '*', disallow: ['/services/'] }]
}
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `gatsby-starter-default`,
short_name: `starter`,
start_url: `/`,
background_color: `#663399`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/images/favicon.png`,
},
},
{
resolve: `gatsby-source-contentful`,
options: {
spaceId: `2mx9j3gfirje`,
// read-only API key
accessToken: 'DaQQmIZJGOeLLqogIPjc3_bf4gTtAwt_A4Z8S3-GKqU'
},
},
],
}