1dd37a91a9eb05cf0c48e8a3c212ed9364119de2
[Packages/TYPO3.CMS.git] / typo3 / sysext / seo / Resources / Private / Templates / XmlSitemap / Index.xml
1 <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="{xslFile}"?>
2
3 <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
4 <f:for each="{sitemaps}" as="sitemap">
5 <sitemap>
6 <f:spaceless>
7 <f:if condition="{sitemap.page}">
8 <f:then><loc><f:uri.page pageType="{type}" additionalParams="{sitemap: sitemap.key, page: sitemap.page}" absolute="true" noCacheHash="false" /></loc></f:then>
9 <f:else><loc><f:uri.page pageType="{type}" additionalParams="{sitemap: sitemap.key}" absolute="true" noCacheHash="false" /></loc></f:else>
10 </f:if>
11 </f:spaceless>
12 <lastmod>{sitemap.lastMod -> f:format.date(format: 'c')}</lastmod>
13 </sitemap>
14 </f:for>
15 </sitemapindex>