regenerate unconditionally unless its incremental (#6917)

Merge pull request 6917
This commit is contained in:
ashmaroli
2018-04-10 02:27:59 +05:30
committed by jekyllbot
parent 925fb6da45
commit d97b3412bc

View File

@@ -20,6 +20,7 @@ module Jekyll
#
# Returns a boolean.
def regenerate?(document)
return true if disabled
case document
when Page
regenerate_page?(document)