A Hexo plugin which convert Chinese title to transliterate permalink.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

hexo-permalink-pinyin

NPM version

A Hexo plugin which convert Chinese title to transliterate permalink.

_posts/你今日饮咗未.md => http://your-site/ni-jin-ri-yin-zuo-wei/

Install

npm i hexo-permalink-pinyin --save

Usage

Add configuration in _config.yml

# https://github.com/viko16/hexo-permalink-pinyin
permalink_pinyin:
  enable: true
  separator: '-' # default: '-'

Options

permalink_pinyin:
  enable: true    # Enable this plugin
  separator: '-'  # Separator of the slug, default: '-'

License

MIT