hexo-theme-ayer/scripts/filters/index.js

14 lines
323 B
JavaScript
Raw Normal View History

2020-01-07 06:05:02 +00:00
'use strict';
const metaGeneratorPath = './meta_generator';
module.exports = hexo => {
/* const {
filter
} = hexo.extend; */
// filter.register('after_render:html', require('./meta_generator'));
};
// 保持过滤器最先执行
hexo.extend.filter.register('after_render:html', require(metaGeneratorPath), 1);