metalsmith-alias
v0.2.0
Published
Metalsmith plugin for generating page URL aliases
Readme
metalsmith-alias 
Create aliases for a pages with automatic redirection.
alias:
- alternate-name
- other/url
- somepage/that/used/to/be/here.htmlUsage
const alias = require('metalsmith-alias');
Metalsmith()
// Other plugins and configuration
.use(alias({netlify: true}))
// More plugins and configurationOptions:
netlify: Whether a Netlify_redirectsfile should be created (defaultfalse).
Changelog
0.2.0: Use forced redirects to avoid shadowing.0.1.2: Don't overwrite existing_redirects.0.1.1: Generate extra redirects withoutindex.html.0.1.0: Add ability to create_redirectsfile for Netlify.0.0.3: Usepathmember if set on the file object.
Alternatives
- metalsmith-redirect: Setup site-wide redirects
