https://github.com/viko16/hexo-permalink-pinyin
A Hexo plugin which convert Chinese title to transliterate permalink.
https://github.com/viko16/hexo-permalink-pinyin
hexo-permalink-pinyin hexo-plugin
Last synced: 11 months ago
JSON representation
A Hexo plugin which convert Chinese title to transliterate permalink.
- Host: GitHub
- URL: https://github.com/viko16/hexo-permalink-pinyin
- Owner: viko16
- License: mit
- Created: 2018-03-15T05:17:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-05-22T13:58:53.000Z (about 7 years ago)
- Last Synced: 2025-07-27T19:30:56.598Z (11 months ago)
- Topics: hexo-permalink-pinyin, hexo-plugin
- Language: JavaScript
- Homepage: https://hexo.io/plugins/
- Size: 4.88 KB
- Stars: 20
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hexo-permalink-pinyin
[](https://npmjs.org/package/hexo-permalink-pinyin)
A Hexo plugin which convert Chinese title to transliterate permalink.
> `_posts/你今日饮咗未.md` => `http://your-site/ni-jin-ri-yin-zuo-wei/`
## Install
```bash
npm i hexo-permalink-pinyin --save
```
## Usage
Add configuration in `_config.yml`
```yaml
# https://github.com/viko16/hexo-permalink-pinyin
permalink_pinyin:
enable: true
separator: '-' # default: '-'
```
## Options
```yaml
permalink_pinyin:
enable: true # Enable this plugin
separator: '-' # Separator of the slug, default: '-'
exclude: /ignore_post/ # Regex for which post should skip
```
## License
MIT