@kogk/gatsby-theme-base

Base K&K theme, for implementing gatsby sites

Usage no npm install needed!

<script type="module">
  import kogkGatsbyThemeBase from 'https://cdn.skypack.dev/@kogk/gatsby-theme-base';
</script>

README

@kogk/gatsby-theme-base

Base K&K theme, for implementing gatsby sites

Usage

// gatsby-config.js

module.exports = {
  siteMetadata: {
    // same applies as to gatsby-plugin-advanced-sitemap -- you need to set this for it to work:
    siteUrl: 'http://www.example.com'
  },
  plugins: [
    ...etc,

    {
      resolve: '@kogk/gatsby-theme-base',
      options: {
        // see options below
      }
    }
  ]
}
Option name/key Default Description
i18n undefined Options for i18n -- see @kogk/gatsby-plugin-i18n
extraAliases undefined if you want to add extra import aliases (eg. '@images/path/to/image.jpg')