https://github.com/jakepartusch/gatsby-theme-contentful-gallery
A Gatsby theme to display a Contentful gallery
https://github.com/jakepartusch/gatsby-theme-contentful-gallery
Last synced: 5 months ago
JSON representation
A Gatsby theme to display a Contentful gallery
- Host: GitHub
- URL: https://github.com/jakepartusch/gatsby-theme-contentful-gallery
- Owner: JakePartusch
- License: mit
- Created: 2019-07-07T21:56:16.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-11T21:24:35.000Z (over 2 years ago)
- Last Synced: 2025-02-12T04:42:40.949Z (5 months ago)
- Language: JavaScript
- Homepage: https://theofficegram.netlify.com/
- Size: 1.32 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gatsby Theme Contentful Gallery
## Getting Started
### Create a new Contentful Space
https://www.contentful.com/faq/basics/#how-do-i-create-a-space
### Run the setup scripts
```
yarn global add contentful-management
contentful space import --space-id SPACE_ID --mt MANAGEMENT_TOKEN --content-file scripts/contentful-export.json
```### Add the plugin to your `gatsby-config`
```
yarn add gatsby-theme-contentful-gallery
``````
plugins: [
{
resolve: "gatsby-theme-contentful-gallery",
options: {
contentfulSpaceId: YOU_SPACE_ID,
contentfulAccessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
},
},
...
]
```