mirror of https://github.com/jkjoy/sunpeiwen.git
17 lines
383 B
JavaScript
17 lines
383 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);
|
|
});
|