2020-01-04 02:28:38 +00:00
|
|
|
const logger = require('hexo-log')();
|
|
|
|
|
|
|
|
module.exports = hexo => {
|
2020-01-23 04:07:43 +00:00
|
|
|
logger.info('=== Registering Hexo extensions ===');
|
|
|
|
require('hexo-component-inferno/lib/hexo/filter/locals')(hexo);
|
2020-03-13 16:50:21 +00:00
|
|
|
require('hexo-component-inferno/lib/hexo/generator/assets')(hexo);
|
|
|
|
require('hexo-component-inferno/lib/hexo/generator/insight')(hexo);
|
2020-01-23 04:07:43 +00:00
|
|
|
require('hexo-component-inferno/lib/hexo/generator/categories')(hexo);
|
2020-06-20 21:24:38 +00:00
|
|
|
require('hexo-component-inferno/lib/hexo/generator/category')(hexo);
|
2020-01-23 04:07:43 +00:00
|
|
|
require('hexo-component-inferno/lib/hexo/generator/tags')(hexo);
|
|
|
|
require('hexo-component-inferno/lib/hexo/helper/cdn')(hexo);
|
|
|
|
require('hexo-component-inferno/lib/hexo/helper/page')(hexo);
|
|
|
|
require('hexo-component-inferno/lib/core/view').init(hexo);
|
2020-01-04 02:28:38 +00:00
|
|
|
};
|