hexo-theme-amane/layout/plugin/progressbar.locals.js

7 lines
148 B
JavaScript

module.exports = (ctx, locals) => {
const { head, plugin } = locals;
if (!head || !plugin) {
return null;
}
return locals;
}