skip front matter on ingored resources

move_new_block
jordanandree 2015-12-17 14:01:37 -05:00
parent b2b461935d
commit e035d625c8
1 changed files with 1 additions and 0 deletions

View File

@ -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