This commit is contained in:
mei
2024-11-16 11:34:10 +08:00
parent d05d322538
commit 16fd822492
485 changed files with 22551 additions and 131 deletions
+9
View 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('');
});