Hexo 插件记录

Hexo pro

hexo-abbrlink

  • 给博客永久链接
  • https://github.com/ohroy/hexo-abbrlink
    1
    npm install hexo-abbrlink --save
    更改配置
    1
    2
    3
    permalink: posts/:abbrlink/ 
    # or
    permalink: posts/:abbrlink.html
    添加配置
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    # abbrlink config
    abbrlink:
    alg: crc32 #support crc16(default) and crc32
    rep: hex #support dec(default) and hex
    drafts: false #(true)Process draft,(false)Do not process draft. false(default)
    # Generate categories from directory-tree
    # depth: the max_depth of directory-tree you want to generate, should > 0
    auto_category:
    enable: true #true(default)
    depth: #3(default)
    over_write: false
    auto_title: false #enable auto title, it can auto fill the title by path
    auto_date: false #enable auto date, it can auto fill the date by time today
    force: false #enable force mode,in this mode, the plugin will ignore the cache, and calc the abbrlink for every post even it already had abbrlink. This only updates abbrlink rather than other front variables.

hexo-blog-encrypt