silverstripe-googlesitemaps/templates/Wilr/GoogleSitemaps/Control/GoogleSitemapController.ss

9 lines
382 B
Scheme
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
2017-10-19 22:05:18 +02:00
<?xml-stylesheet type='text/xsl' href='$StylesheetIndexPath'?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><% loop Sitemaps %>
<sitemap>
<loc>{$AbsoluteBaseURL}sitemap.xml/sitemap/$ClassName/$Page.xml</loc>
<% if $LastModified %><lastmod>$LastModified</lastmod><% end_if %>
</sitemap><% end_loop %>
</sitemapindex>