/hexo-generator-alias

Generate alias pages for redirecting to posts, pages or URL

Primary LanguageJavaScriptMIT LicenseMIT

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