Generate alias pages for redirecting to posts, pages or URL
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.eslintignore
.eslintrc
.gitignore
.jscsrc
.npmignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

hexo-generator-alias

Build Status NPM version Coverage Status

Generates alias pages for redirecting to posts, pages or URL.

Install

$ npm install hexo-generator-alias --save

Usage

You can specify aliases in post files:

alias: about/index.html

alias:
- about/index.html
- bar/index.html

or in _config.yml:

alias:
  api/index.html: api/classes/Hexo.html
  plugins/index.html: https://github.com/tommy351/hexo/wiki/Plugins