@leomanlapera/gatsby-theme-blog

1.0.4 • Public • Published

The smallest possible Gatsby theme

Quick Start

mkdir my-blog
cd my-blog
yarn init
# install @leomanlapera/gatsby-theme-blog and it's dependencies
yarn add gatsby react react-dom @leomanlapera/gatsby-theme-blog

Then add the theme to your gatsby-config.js. We'll use the long form here for education purposes.

module.exports = {
  plugins: [
    {
      resolve: `@leomanlapera/gatsby-theme-blog`,
      options: {
        contentPath: `blogs`,
        basePath: `/blog`,
      },
    },
  ],
}

That's it, you can now run your gatsby blog using

yarn gatsby develop

Your blog will be available on localhost:8000/blog

Package Sidebar

Install

npm i @leomanlapera/gatsby-theme-blog

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

14.2 kB

Total Files

18

Last publish

Collaborators

  • leomanlapera