Merge pull request #3464 from willnorris/rebuild

write .jekyll-metadata even on full_rebuild
This commit is contained in:
Alfred Xing 2015-02-16 13:03:45 -08:00
commit 32cc745142
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ module Jekyll
each_site_file { |item| each_site_file { |item|
item.write(dest) if regenerator.regenerate?(item) item.write(dest) if regenerator.regenerate?(item)
} }
regenerator.write_metadata unless full_rebuild? regenerator.write_metadata
end end
# Construct a Hash of Posts indexed by the specified Post attribute. # Construct a Hash of Posts indexed by the specified Post attribute.