Passes the url to FrontmatterDefaults.all instead of full path
This commit is contained in:
parent
e868a8437f
commit
497c10897f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue