Fix issue #302
This commit is contained in:
parent
6edefe3c68
commit
c6c3021593
1 changed files with 1 additions and 5 deletions
|
@ -42,11 +42,7 @@ module Middleman::Sitemap
|
||||||
# Internal path to be requested when rendering this page
|
# Internal path to be requested when rendering this page
|
||||||
# @return [String]
|
# @return [String]
|
||||||
def request_path
|
def request_path
|
||||||
if proxy?
|
destination_path
|
||||||
store.page(proxied_to).destination_path
|
|
||||||
else
|
|
||||||
destination_path
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# Set the on-disk source file for this page
|
# Set the on-disk source file for this page
|
||||||
|
|
Loading…
Add table
Reference in a new issue