2.0.1 • Published 8 months ago

hexo-is v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Determine hexo instance

Where is you now ? page ? archive ? whatever

this plugin can be used to determine where you are from plugin hexo

Usage

const hexoIs = require('hexo-is');
function where(content, data){
  console.log(hexoIs(data));
}
hexo.extend.filter.register("after_render:js", where);
hexo.extend.filter.register("after_render:css", where);
hexo.extend.filter.register("after_render:html", where);
2.0.1

8 months ago

2.0.0

8 months ago

1.0.5

2 years ago

1.0.4

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago