hexo/node_modules/hexo-theme-fluid/scripts/events/index.js

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);
});