Deprecated
This project is no longer maintained.
Gatsby Starter Ghost
A starter template to build lightning fast websites with Ghost & Gatsby
Demo: https://gatsby.ghost.org/

Installing
# With Gatsby CLI
gatsby new gatsby-starter-ghost https://github.com/TryGhost/gatsby-starter-ghost.git
# From Source
git clone https://github.com/TryGhost/gatsby-starter-ghost.git
cd gatsby-starter-ghost
Then install dependencies
yarn
Running
Start the development server. You now have a Gatsby site pulling content from headless Ghost.
gatsby develop
By default, the starter will populate content from a default Ghost install located at https://gatsby.ghost.io.
To use your own install, you will need to edit the .ghost.json config file with your credentials. Change the apiUrl value to the URL of your Ghost site. For Ghost(Pro) customers, this is the Ghost URL ending in .ghost.io, and for people using the self-hosted version of Ghost, it's the same URL used to access your site.
Next, update the contentApiKey value to a key associated with the Ghost site. A key can be provided by creating an integration within Ghost Admin. Navigate to Integrations and click "Add new integration". Name the integration appropriately and click create.
Finally, configure your desired URL in siteConfig.js, so links (e. g. canonical links) are generated correctly. You can also update other default values, such as postsPerPage in this file.
To use this starter without issues, your Ghost installation needs to be at least on version .