Skip to content

houyonglu/hexo-friendly-link

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Automatically generate friendly permalink for Hexo.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published