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

7 lines
156 B
JavaScript
Raw Normal View History

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