mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
BUGFIX Added GoogleSitemap.ss from sapphire
This commit is contained in:
parent
159a0a81a8
commit
6181a48ced
11
templates/GoogleSitemap.ss
Executable file
11
templates/GoogleSitemap.ss
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
|
<% control Items %>
|
||||||
|
<url>
|
||||||
|
<loc>$AbsoluteLink</loc>
|
||||||
|
<lastmod>$LastEdited.Format(c)</lastmod>
|
||||||
|
<% if ChangeFreq %><changefreq>$ChangeFreq</changefreq><% end_if %>
|
||||||
|
<% if Priority %><priority>$Priority</priority><% end_if %>
|
||||||
|
</url>
|
||||||
|
<% end_control %>
|
||||||
|
</urlset>
|
Loading…
Reference in New Issue
Block a user