1.0.0 • Published 4 years ago
hexo-friendly-link v1.0.0
hexo-friendly-link
Automatically generate friendly permalink for Hexo.
Installation
npm install hexo-friendly-link --save
Usage
Modify permalink
in _config.yml
:
permalink: :friendly_link/
How it works
hexo-friendly-link
works by generating the hex encoded unix timestamp, it uses the published date of the post.
Limitation
If you modify the published date of the post, the generated link will be different. Or if multiple posts are created in the same second, the generated links are the same. In these case, the generated links are unstable. But for most personal blog sites, these are unlikely to happen.
License
MIT
1.0.0
4 years ago