Skip to content
This repository has been archived by the owner on Mar 23, 2020. It is now read-only.

bitcrowd/bitcrowd-cms-gatsby-source

Repository files navigation

This package adds support for the bitcrowd CMS to gatsby.

Installation

Add the plugin to gatsby-config.js as follows:

plugins: [
  {
    resolve: 'bitcrowd-cms-gatsby-source',
    options: {
      endpoint: 'http://cms.example.net',
      locale: 'int-en',
    },
  },
]

After that you can access the pages and assets in Graphql with the prefix Cms.

Embedded Twitter Links

To show Twitter embeds in their full glory, you'll need to add the twitter widgets javascript library to your site.

The easiest solution is to add gatsby-plugin-twitter to your gatsby config.

Contributing

yarn test
yarn lint

Please keep the changelog up to date as well.

About

A source plugin for Gatsby that consumes the JSON API of the bitcrowd CMS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published