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