saber-plugin-meta-redirect
v0.1.2
Published
Generates meta redirect html files for redirecting on any static file host
Readme
saber-plugin-meta-redirect
Generates <meta> redirect html files for redirecting on any static file host.
Install
yarn add saber-plugin-meta-redirectUsage
In your saber-config.yml:
plugins:
- resolve: saber-plugin-meta-redirectIn your saber-node.js:
exports.onCreatePages = function() {
this.pages.createRedirect({
fromPath: '/about',
toPath: '/about-us'
})
}Check out the docs for pages.createRedirect.
License
MIT.
