skip front matter on ingored resources
This commit is contained in:
parent
b2b461935d
commit
e035d625c8
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ module Middleman::CoreExtensions
|
|||
Contract ResourceList => ResourceList
|
||||
def manipulate_resource_list(resources)
|
||||
resources.each do |resource|
|
||||
next if resource.ignored?
|
||||
next if resource.file_descriptor.nil?
|
||||
|
||||
fmdata = data(resource.file_descriptor[:full_path].to_s).first.dup
|
||||
|
|
Loading…
Reference in a new issue