Skip to content

'hexo auto association' is a hexo plugin that completes the association within the article during the 'after_post-render' stage.

Notifications You must be signed in to change notification settings

7zMonkey/hexo-auto-association

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hexo-auto-association

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

演示展示

image-20230415151608032

配置信息

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

默认的配置项内容如下:

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

About

'hexo auto association' is a hexo plugin that completes the association within the article during the 'after_post-render' stage.

Resources

Stars

Watchers

Forks

Packages

No packages published