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

9 lines
409 B
Scheme
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
2023-02-13 01:38:57 +01:00
<?xml-stylesheet type='text/xsl' href='{$AbsoluteBaseURL}/sitemap.xml/styleSheetIndex'?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><% loop Sitemaps %>
<sitemap>
2023-02-13 01:38:57 +01:00
<loc>{$AbsoluteBaseURL}/sitemap.xml/sitemap/$ClassName/$Page.xml</loc>
<% if $LastModified %><lastmod>$LastModified</lastmod><% end_if %>
</sitemap><% end_loop %>
</sitemapindex>