mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 09:18:11 -05:00
Always regenerate asset files
This commit is contained in:
@@ -172,7 +172,9 @@ module Jekyll
|
||||
#
|
||||
# Returns true if file needs to be regenerated
|
||||
def regenerate?
|
||||
data['regenerate'] || site.metadata.regenerate?(site.in_source_dir(relative_path))
|
||||
asset_file? ||
|
||||
data['regenerate'] ||
|
||||
site.metadata.regenerate?(site.in_source_dir(relative_path))
|
||||
end
|
||||
|
||||
# Determine whether the file should be placed into layouts.
|
||||
|
||||
Reference in New Issue
Block a user