@jxnblk/gatsby-theme-mdx-blog

0.1.1 • Public • Published

@jxnblk/gatsby-theme-mdx-blog

WIP Hyperminimal Gatsby theme for building blogs with MDX

Used in https://jxnblk.com/blog

npm i @jxnblk/gatsby-theme-mdx-blog

Features

Theming

The blog can be completely themed using Theme UI.

TK

Options

The following options can be passed to the theme in your site's gatsby-config.js file.

// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: '@jxnblk/gatsby-theme-mdx-blog',
      options: {
        name: 'writing',
        path: 'src/content',
        pageSize: 16,
      }
    }
  ]
}
  • name: path for rendered pages in your site, default ''
  • path: path for source folder of MDX blog posts, default src/posts
  • pageSize: number of posts to display per page

⚠️ if you change the path, make sure you have content already since gatsby relies on having content to generate the frontmatter properly.

MIT License

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @jxnblk/gatsby-theme-mdx-blog

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

18 kB

Total Files

22

Last publish

Collaborators

  • jxnblk