@pedronauck/gatsby-theme-blog
v1.0.4
Published
Base blog theme functionality for Gatsby
Downloads
6
Readme
Blog base
:warning: This is experimental and subject to breaking changes.
Installation
yarn add gatsby-theme-blog-base
Usage
// gatsby-config.js
module.exports = {
return {
__experimentalThemes: [
{
resolve: 'gatsby-theme-blog-base',
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