0.0.1-alpha.0 • Published 5 years ago
gatsby-theme-blog-mdx v0.0.1-alpha.0
MDX blog
:warning: This is experimental and subject to breaking changes.
Installation
yarn add gatsby-theme-blog-mdx
Usage
// gatsby-config.js
module.exports = {
return {
__experimentalThemes: [
{
resolve: 'gatsby-theme-blog-mdx',
options: {
postsPath: '/writing'
}
}
]
}
}
Configuration
Key | Default | Description |
---|---|---|
postsPath | /blog | Path for blog posts listings (/blog , /blog/2 , etc.) |
postsPerPage | 99999 | Number of posts on each page |