hexo-auto-association
v1.0.0
Published
A tool for internally associating the static pages generated by hexo. In the after_post_render stage, it will judge the specified content under the front-matter of the article (the default is the association option) for association.
Downloads
1
Readme
hexo-auto-association
hexo-auto-association
是一款给将hexo
生成的静态页做内部关联的工具,在会在after_post_render
阶段,判断文章Front-matter
下的指定内容(默认是association选项)进行关联。
配置信息
| 配置项 | 描述 | 默认值 | 选项 | | -------------- | ---------------- | ------------------ | ------ | | 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