mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
Merge pull request #190 from visualmetricsio/fix/absolute-link-scope
Fix absolute link scope
This commit is contained in:
commit
f1bddb626d
@ -2,7 +2,7 @@
|
|||||||
<?xml-stylesheet type='text/xsl' href='{$AbsoluteLink('styleSheetIndex')}'?>
|
<?xml-stylesheet type='text/xsl' href='{$AbsoluteLink('styleSheetIndex')}'?>
|
||||||
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><% loop Sitemaps %>
|
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><% loop Sitemaps %>
|
||||||
<sitemap>
|
<sitemap>
|
||||||
<loc>{$AbsoluteLink('sitemap')}/{$ClassName}/{$Page.xml}</loc>
|
<loc>{$Up.AbsoluteLink('sitemap')}/{$ClassName}/{$Page.xml}</loc>
|
||||||
<% if $LastModified %><lastmod>{$LastModified}</lastmod><% end_if %>
|
<% if $LastModified %><lastmod>{$LastModified}</lastmod><% end_if %>
|
||||||
</sitemap><% end_loop %>
|
</sitemap><% end_loop %>
|
||||||
</sitemapindex>
|
</sitemapindex>
|
||||||
|
Loading…
Reference in New Issue
Block a user