This commit is contained in:
myw committed 2026-07-16 16:53:38 +08:00
1 parent 6b44647d4e
commit d8942c236a
22 files changed
+263 -240

No files matched your search

+4
View File
@@ -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