2025-2-26-fixed
This commit is contained in:
9
themes/fluid/scripts/helpers/engine.js
Normal file
9
themes/fluid/scripts/helpers/engine.js
Normal file
@ -0,0 +1,9 @@
|
||||
/* 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('');
|
||||
});
|
||||
Reference in New Issue
Block a user