Passes the url to FrontmatterDefaults.all instead of full path

This commit is contained in:
Jens Nazarenus 2014-05-21 20:24:53 +02:00
parent e868a8437f
commit 497c10897f
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ module Jekyll
@data = SafeYAML.load_file(path) @data = SafeYAML.load_file(path)
else else
begin begin
defaults = @site.frontmatter_defaults.all(path, collection.label.to_sym) defaults = @site.frontmatter_defaults.all(url, collection.label.to_sym)
unless defaults.empty? unless defaults.empty?
@data = defaults @data = defaults
end end