diff --git a/middleman-core/lib/middleman-core/sitemap/page.rb b/middleman-core/lib/middleman-core/sitemap/page.rb index 47548cb1..94b91ee3 100644 --- a/middleman-core/lib/middleman-core/sitemap/page.rb +++ b/middleman-core/lib/middleman-core/sitemap/page.rb @@ -42,11 +42,7 @@ module Middleman::Sitemap # Internal path to be requested when rendering this page # @return [String] def request_path - if proxy? - store.page(proxied_to).destination_path - else - destination_path - end + destination_path end # Set the on-disk source file for this page