Skip to content

Vuepress plugin that generates alias pages for proper redirect handling

Notifications You must be signed in to change notification settings

jazellesclutter/vuepress-plugin-alias-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vuepress-plugin-alias

Vuepress plugin that generates alias pages for proper redirect handling

Install

  • Yarn

    yarn add vuepress-plugin-alias
  • NPM

    npm install vuepress-plugin-alias

Usage

Vuepress v1.x

// .vuepress/config.js
module.exports = {
  plugins: [ 'alias' ]
}

and in your front-matter add alias to redirect from

---
alias: old-link.html
---

or a list of aliases

---
aliases: 
 - old-link1.html
 - old-link2.html
---

About

Vuepress plugin that generates alias pages for proper redirect handling

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%