Skip to content

Commit 8e44397

Browse files
committed
Don't disable incremental
1 parent 40823a4 commit 8e44397

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/jekyll-archives.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@ module Archives
66
autoload :Archive, 'jekyll-archives/archive'
77
autoload :VERSION, 'jekyll-archives/version'
88

9-
if (Jekyll.const_defined? :Hooks)
10-
Jekyll::Hooks.register :site, :after_reset do |site|
11-
# We need to disable incremental regen for Archives to generate with the
12-
# correct content
13-
site.regenerator.instance_variable_set(:@disabled, true)
14-
end
15-
end
16-
179
class Archives < Jekyll::Generator
1810
safe true
1911

0 commit comments

Comments
 (0)