1.0.0 • Published 1 year ago

hexo-auto-association v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

hexo-auto-association

hexo-auto-association是一款给将hexo生成的静态页做内部关联的工具,在会在after_post_render阶段,判断文章Front-matter下的指定内容(默认是association选项)进行关联。

演示展示

image-20230415151608032

配置信息

配置项描述默认值选项
enable是否启动trueBoolean: true | false
keyFront-matter标签"association"String
url额外的url 追加"/"String
priority执行优先级10Number: 1-10
self是否关联自己falseBoolean: true | false
mode关键模式"all"String: single | all
class_nameclass名称"auto-association"String
is_clear_cache清除缓存trueBoolean: true | false

默认的配置项内容如下:

auto_associations: 
  enable: true
  key: association
  url: /
  priority: 10
  self: false
  mode: all
  class_name: auto-association
  is_clear_cache: true