mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-08-08 19:48:42 +08:00
update
This commit is contained in:
@@ -12,6 +12,10 @@
|
||||
const urlFor = require('hexo-util').url_for.bind(hexo)
|
||||
const groups = {}
|
||||
|
||||
hexo.extend.filter.register('before_generate', () => {
|
||||
Object.keys(groups).forEach(k => delete groups[k])
|
||||
})
|
||||
|
||||
hexo.extend.filter.register('before_post_render', data => {
|
||||
if (!hexo.theme.config.series.enable) return data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user