mirror of https://github.com/jkjoy/sunpeiwen.git
5d2d87c740 | ||
---|---|---|
.. | ||
.github | ||
lib | ||
.prettierrc.json | ||
License | ||
README.md | ||
index.js | ||
package.json |
README.md
hexo-abbrlink2
A Hexo plugin 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