1.0.2 • Published 3 years ago

hexo-abbrlink3 v1.0.2

Weekly downloads
7
License
ISC
Repository
github
Last release
3 years ago

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