hexo-abbrlink2
Version:
create one and only link for every post for hexo
44 lines (29 loc) • 1.03 kB
Markdown
# hexo-abbrlink2
[](https://www.npmjs.com/package/hexo-abbrlink2)
[](https://www.npmjs.com/package/hexo-abbrlink2)
[](https://www.npmjs.com/package/hexo-abbrlink2)
A [Hexo plugin](https://hexo.io/plugins/) to generate static post link based on post titles.
## How to install
Add plugin to Hexo:
```
npm install hexo-abbrlink2 --save
```
Modify permalink in config.yml file:
```
permalink: posts/:abbrlink/
```
optional settings:
```
abbrlink:
start: 1000 # the first id, default 0
```
## Sample
The generated link will look like the following:
```
https://post.zz173.com/posts/1.html
https://post.zz173.com/posts/2.html
https://post.zz173.com/posts/3.html
```
## Sponsor
The project is develop by [JetBrains Ide](https://www.jetbrains.com/?from=puck)
[](https://www.jetbrains.com/?from=puck)