17 lines
367 B
JavaScript
17 lines
367 B
JavaScript
|
/* global hexo */
|
||
|
|
||
|
'use strict';
|
||
|
|
||
|
hexo.on('generateBefore', () => {
|
||
|
require('./lib/merge-configs')(hexo);
|
||
|
require('./lib/compatible-configs')(hexo);
|
||
|
require('./lib/injects')(hexo);
|
||
|
require('./lib/highlight')(hexo);
|
||
|
require('./lib/lazyload')(hexo);
|
||
|
require('./lib/footnote')(hexo);
|
||
|
});
|
||
|
|
||
|
hexo.on('generateAfter', () => {
|
||
|
require('./lib/hello')(hexo);
|
||
|
});
|