bitcrowd-cms-gatsby-source
v0.1.4
Published
A source plugin for Gatsby that consumes the JSON API of the bitcrowd CMS.
Downloads
2
Readme
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.