feature/manifest
Thomas Reynolds 2016-02-19 13:24:16 -08:00
parent e36fd3f476
commit b695f6da1e
1 changed files with 2 additions and 2 deletions

View File

@ -183,8 +183,8 @@ module Middleman
ignored
end,
layout: proc do |file, _sitemap_app|
file[:relative_path].to_s.start_with?('layout.', 'layouts/')
layout: proc do |file, app|
file[:relative_path].to_s.start_with?('layout.', app.config[:layouts_dir] + '/')
end
}, 'Callbacks that can exclude paths from the sitemap'