All Projects → jxnblk → Gatsby Theme Mdx Blog

jxnblk / Gatsby Theme Mdx Blog

Programming Languages

javascript
184084 projects - #8 most used programming language

@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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].