0.0.6 • Published 4 years ago
@brettanda/gridsome-plugin-scheduled-posts v0.0.6
@brettanda/gridsome-plugin-scheduled-posts
Hide posts that have a post date in the future. This only runs on build and will require a rebuild to update
Install
yarn add @brettanda/gridsome-plugin-scheduled-posts
npm install @brettanda/gridsome-plugin-scheduled-posts
Usage
You will have to make sure the the timeZoneOffset
is correct for your setup.
module.exports = {
plugins: [
{
use: "@brettanda/gridsome-plugin-scheduled-posts",
options: {
typeName: "Post",
timeZoneOffset: "-6"
}
}
]
};