Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.
/ metalsmith-alias Public archive

Metalsmith plugin for creating URL aliases/redirects for a page with

License

Notifications You must be signed in to change notification settings

fortes/metalsmith-alias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

No longer maintained

This is no longer maintained, code is archived and available for forking though.

metalsmith-alias build status

Greenkeeper badge

Create aliases for a pages with automatic redirection.

alias:
- alternate-name
- other/url
- somepage/that/used/to/be/here.html

Usage

const alias = require('metalsmith-alias');

Metalsmith()
  // Other plugins and configuration
  .use(alias({netlify: true}))
  // More plugins and configuration

Options:

Changelog

  • 0.2.0: Use forced redirects to avoid shadowing.
  • 0.1.2: Don't overwrite existing _redirects.
  • 0.1.1: Generate extra redirects without index.html.
  • 0.1.0: Add ability to create _redirects file for Netlify.
  • 0.0.3: Use path member if set on the file object.

Alternatives

About

Metalsmith plugin for creating URL aliases/redirects for a page with

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published