0.1.0 • Published 4 years ago

@hpprc/gatsby-theme-core v0.1.0

Weekly downloads
11
License
MIT
Repository
github
Last release
4 years ago

@hpprc/gatsby-theme-core

Minimal core configurations and functions for Gatsby site.

  • absolute import
  • TypeScript
  • ServiceWorker
  • PWA
  • robot.txt
  • advanced sitemap
  • Google Analytics

Example

module.exports = {
  plugins: [
    {
      resolve: `@hpprc/gatsby-theme-core`,
      options: {
        siteTitle: 'hpp core',
        siteUrl: 'https://hpprc.com',
        siteDescription: 'core functions for Gatsby site',
        iconPath: './contents/assets/icon.png',
        googleAnalyticsTrackingId: 'UA-XXXXXXXXX-X',
        backgroundColor: '#ffffff',
        themeColor: '#09090f'
      }
    }
  ]
};