hexo/node_modules/hexo-theme-fluid/scripts/helpers/engine.js

10 lines
230 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
/* global hexo */
'use strict';
hexo.extend.helper.register('inject_point', function(point) {
return this.theme.injects[point]
.map(item => this.partial(item.layout, item.locals, item.options))
.join('');
});