Skip to content

grow/grow-ext-contentful

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

grow-ext-contentul

Build Status

Contentful extension for Grow. Binds Contentful collections to Grow collections.

Concept

  • Binds Contentful collections to Grow collections.
  • Supports localized fields and localization.
  • Currently limited to 100 entries per collection.

Usage

Initial setup

  1. Create an extensions.txt file within your pod.
  2. Add to the file: git+git://github.com/grow/grow-ext-contentful
  3. Run grow install.
  4. Add the following section to podspec.yaml:
extensions:
  preprocessors:
  - extensions.contentful_ext.ContentfulPreprocessor

preprocessors:
- kind: contentful
  autorun: true

  space: exampleContentfulSpaceId
  access_token: exampleContentfulProductionKey

  # Uncomment to use the `preview` API.
  # access_token: exampleContentfulPreviewKey
  # preview: true

  bind:
  - collection: /content/exampleModel1/
    content_type: exampleModel1
    # Optional. The field used to generate the basename of the Grow document.
    key: slug
  - collection: /content/exampleModel2/
    content_type: exampleModel2

About

Contentful extension for Grow.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages