Skip to content

A Hexo plugin which convert Chinese title to transliterate permalink.

License

Notifications You must be signed in to change notification settings

viko16/hexo-permalink-pinyin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: '-'
  exclude: /ignore_post/   # Regex for which post should skip

License

MIT

About

A Hexo plugin which convert Chinese title to transliterate permalink.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published