-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
42 lines (41 loc) · 1.17 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
/**
1300
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
siteMetadata: {
title: "Ha Phan Tran - Your Trusted Data Expert",
description: "This is Ha Phan Tran's Website - Your Trusted Data Expert" ,
titleTemplate: `%s | Ha Phan Tran`,
author: "@haphantran",
igUsername: "@haphantran",
image: "/twitter-img.png",
url: "https://haphantran.com",
},
plugins: [
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/assets/images`,
},
},
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-strapi`,
options: {
apiURL: `https://haphantran-com-strapi-backend.herokuapp.com`,
queryLimit: 1000, // Default to 100
contentTypes: [`jobs`, `projects`, `blogs`],
//If using single types place them in this array.
singleTypes: [`about`],
// Possibility to login with a strapi user, when content types are not publically available (optional).
},
},
],
}