mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04:00
Rename Regenerator#write to Regenerator#write_metadata
This commit is contained in:
@@ -103,7 +103,7 @@ module Jekyll
|
||||
# Write the metadata to disk
|
||||
#
|
||||
# Returns nothing.
|
||||
def write
|
||||
def write_metadata
|
||||
File.open(metadata_file, 'w') do |f|
|
||||
f.write(metadata.to_yaml)
|
||||
end
|
||||
|
||||
@@ -325,7 +325,7 @@ module Jekyll
|
||||
each_site_file { |item|
|
||||
item.write(dest) if regenerator.regenerate?(item)
|
||||
}
|
||||
regenerator.write unless full_rebuild?
|
||||
regenerator.write_metadata unless full_rebuild?
|
||||
end
|
||||
|
||||
# Construct a Hash of Posts indexed by the specified Post attribute.
|
||||
|
||||
Reference in New Issue
Block a user