Skip to main content
Community Plugin
View plugin on GitHub
See starters using this

@arshad/gatsby-theme-core

Version License PRs welcome!

This core theme includes shared functionality and helpers for @arshad/gatsby-themes.

Installation

Step 1: In the root of your Gatsby site, run the following command:

yarn add @arshad/gatsby-theme-core

Step 2: Enable it in gatsby-config.js

// gatsby-config.js
...
  plugins: [
    `@arshad/gatsby-theme-core`
  ]
...

Theme options

Key Default value Description
imagesPath /content/posts Location of your images

Example usage

// gatsby-config.js
...
  plugins: [
    {
      resolve: `@arshad/gatsby-theme-core`,
      options: {
        imagesPath: `assets/images`,
      }
    }
  ]
...

Support

Create an issue on the main repo @arshad/gatsby-themes.