Skip to content

qiXiaoFanTomato/hexo-abbrlink3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexo-abbrlink3

A Hexo plugin to generate static post link based on different layouts titles.

This is based on hexo-abbrlink secondary development

How to install

Add plugin to Hexo:

npm install hexo-abbrlink3 --save

Modify permalink in config.yml file:

permalink: :year/:category/:abbrlink/ # Generating effect links

There are two settings:

alg -- Algorithm (currently support crc16 and crc32, which crc16 is default)
rep -- Represent (the generated link could be presented in hex or dec value)
# abbrlink config
abbrlink:
  alg: crc16      #support crc16(default) and crc32
  rep: dec        #support dec(default) and hex
  allow: ['post','school','cpp',"java","blog"] #Allowed template types. The default is (" post ")
  disallow: [] #Unallowed template type. Default is an empty list

ThanksFor

NoahDragon

rozbo

Myself

About

create one and only link for every post for hexo

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%