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

9 lines
412 B
Scheme
Raw Permalink Normal View History

<?xml version="1.0" encoding="UTF-8"?>
2023-07-19 11:38:47 +02:00
<?xml-stylesheet type='text/xsl' href='{$AbsoluteLink('styleSheetIndex')}'?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><% loop Sitemaps %>
2023-07-19 11:38:47 +02:00
<sitemap>
2023-08-28 12:33:51 +02:00
<loc>{$Up.AbsoluteLink('sitemap')}/{$ClassName}/{$Page.xml}</loc>
2023-07-19 11:38:47 +02:00
<% if $LastModified %><lastmod>{$LastModified}</lastmod><% end_if %>
</sitemap><% end_loop %>
</sitemapindex>