From e035d625c82afa6113858640d735905919c36108 Mon Sep 17 00:00:00 2001 From: jordanandree Date: Thu, 17 Dec 2015 14:01:37 -0500 Subject: [PATCH] skip front matter on ingored resources --- .../lib/middleman-core/core_extensions/front_matter.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/middleman-core/lib/middleman-core/core_extensions/front_matter.rb b/middleman-core/lib/middleman-core/core_extensions/front_matter.rb index b1488c1a..739b49fd 100644 --- a/middleman-core/lib/middleman-core/core_extensions/front_matter.rb +++ b/middleman-core/lib/middleman-core/core_extensions/front_matter.rb @@ -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