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

8 lines
189 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
/* global hexo */
'use strict';
hexo.extend.helper.register('point_injected', function(type) {
return hexo.theme.config.injects[type] && hexo.theme.config.injects[type].length > 0;
});