mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 20:30:53 +08:00
fix: CDN配置為 local 時 mathjax 字體缺失的 bug close #893
This commit is contained in:
@@ -104,7 +104,7 @@ hexo.extend.filter.register('before_generate', () => {
|
||||
const data = path.join(hexo.plugin_dir,'hexo-butterfly-extjs/plugins.yml')
|
||||
result = hexo.render.renderSync({ path: data, engine: 'yaml'})
|
||||
Object.keys(result).map(key => {
|
||||
result[key] = 'pluginsSrc/' + result[key]
|
||||
result[key] = '/pluginsSrc/' + result[key]
|
||||
})
|
||||
} catch (e) {}
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user