Skip to content

Commit

Permalink
feat: 💩 goodbye contentful
Browse files Browse the repository at this point in the history
  • Loading branch information
kitos committed Mar 22, 2020
1 parent deeba71 commit 73941fa
Show file tree
Hide file tree
Showing 9 changed files with 164 additions and 505 deletions.
1 change: 0 additions & 1 deletion .env.production
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
YOUTUBE_KEY=it's a secret
CONTENTFUL_ACCESS_TOKEN=it is also secret
GATSBY_CLOUD_FUNCTION_CREATE_GH_ISSUE=https://us-central1-personal-site-223608.cloudfunctions.net/create-blog-typo-issue
GATSBY_DISQUS_SHORTNAME=nikita-kirsanov-blog
14 changes: 6 additions & 8 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ module.exports = {
path: `${__dirname}/CHANGELOG.md`,
},
},
{
resolve: 'gatsby-transformer-yaml',
options: {
path: `${__dirname}/src/_content`,
},
},
{
resolve: 'gatsby-transformer-remark',
options: {
Expand Down Expand Up @@ -108,14 +114,6 @@ module.exports = {
],
},
},
{
resolve: `gatsby-source-contentful`,
options: {
spaceId: `6dybdba3jdxv`,
accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
},
},
'@contentful/gatsby-transformer-contentful-richtext',
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
{
Expand Down
Loading

0 comments on commit 73941fa

Please sign in to comment.