-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgatsby-config.js
43 lines (43 loc) · 1.18 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
module.exports = {
siteMetadata: {
title: 'prototyping.coffee',
},
plugins: [
'gatsby-plugin-react-helmet',
'gatsby-plugin-offline',
{
resolve: `gatsby-plugin-styled-components`,
options: {
// Add any options here
},
},
`gatsby-plugin-mdx`,
'gatsby-plugin-react-svg',
{
resolve: `gatsby-source-airtable`,
options: {
apiKey: process.env.GATSBY_AIRTABLE_KEY, // may instead specify via env, see below
tables: [
{
baseId: `apppJsxJ6QLSi0IZi`,
tableName: `Recipes`,
tableView: `Grid view`,
// queryName: `OPTIONAL_NAME_TO_IDENTIFY_TABLE`, // optional
// mapping: { Name: `text` }, // optional, e.g. "text/markdown", "fileNode"
tableLinks: [`Brewer`, 'Source'], // optional, for deep linking to records across tables.
},
{
baseId: `apppJsxJ6QLSi0IZi`,
tableName: `Brewers`,
tableView: `Grid view`,
},
{
baseId: `apppJsxJ6QLSi0IZi`,
tableName: `Sources`,
tableView: `Grid view`,
},
],
},
},
],
};