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