hexo-theme-amane/layout/share/sharejs.locals.js

9 lines
225 B
JavaScript

module.exports = (ctx, locals) => {
const { get_config } = ctx;
return Object.assign(locals, {
// just for diff detection
_providers: {
_cdn: get_config('providers.cdn')
}
});
}