This commit is contained in:
Thomas Reynolds 2016-02-19 13:24:16 -08:00
parent e36fd3f476
commit b695f6da1e

View file

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