Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub


A Gatsby theme plugin for creating blogs from headless Ghost CMS.

Turn your Ghost blog into a lightning fast static website. This Gatsby theme is a frontend replacement of the Ghost handlebars engine featuring the standard Casper 3 skin and functionality. All content is sourced from a headless Ghost CMS.


Play with the Demo to get a first impression.


  • Ghost Attila skin and functionality
  • SEO optimized
  • Fully responsive
  • Composable and extensible


Head over to the starter repo to get up and running quickly!

If you want to add this blog theme to an existing site, follow these instructions:

  1. Install the blog theme

    yarn add @armada-inc/gatsby-attila-theme-ghost
    # or
    npm install @armada-inc/gatsby-attila-theme-ghost --save
  2. Add the following configuration to your gatsby-config.js file

    // gatsby-config.js
    module.exports = {
    plugins: [
        resolve: `@armada-inc/gatsby-attila-theme-ghost`,
        options: {
            siteConfig: {
            siteUrl: `https://your-bog.com`,
            postsPerPage: 12,
            siteTitleMeta: `Gatsby Frontend powered by headless Ghost CMS`,
            siteDescriptionMeta: `Turn your Ghost blog into a lightning fast static website with Gatsby`, 
            shareImageWidth: 1000,
            shareImageHeight: 523,
            shortTitle: `Ghost`,
            siteIcon: `favicon.png`,
            backgroundColor: `#e9e9e9`,
            themeColor: `#15171A`,
            ghostConfig: {
                "development": {
                    "apiUrl": "http://localhost:2368",
                    "contentApiKey": "9fcfdb1e5ea5b472e2e5b92942",
                "production": {
                    "apiUrl": "https://your-ghost-cms.com",
                    "contentApiKey": "9fcfdb1e5ea5b472e2e5b92942",
  3. Update siteConfig

    In the configuration shown above, the most important fields to be changed are siteUrl, siteTitleMeta and siteDescriptionMeta. Update at least those to fit your needs. Also make sure your favicon.png can be found in folder static of your working directory.

  4. Ghost Content API Keys

    Change the apiUrl value to the URL of your Ghost CMS site. Next, update the contentApiKey value to a key associated with the Ghost CMS 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.


Start the development server. You now have a Gatsby site pulling content from headless Ghost.

gatsby develop


You can disable the default Ghost Handlebars Theme front-end by enabling the Make this site private flag within your Ghost settings. This enables password protection in front of the Ghost install and sets <meta name="robots" content="noindex" /> so your Gatsby front-end becomes the source of truth for SEO.


Inspired from gatsby-theme-try-ghost

Copyright & License

Copyright (c) 2020 Armada Intelligence Inc - Released under the MIT license.

© 2023 Gatsby, Inc.