Automatically generate friendly permalink for Hexo.
npm install hexo-friendly-link --save
Modify permalink
in _config.yml
:
permalink: :friendly_link/
hexo-friendly-link
works by generating the hex encoded unix timestamp, it uses the published date of the post.
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.
MIT