[FEATURE] Add properties changefreq and priority to XML sitemap entries
[Packages/TYPO3.CMS.git] / typo3 / sysext / seo / Resources / Private / Templates / XmlSitemap / Sitemap.xml
index 7e80a83..f359bbb 100644 (file)
@@ -6,6 +6,10 @@
             <url>
                 <loc>{item.loc}</loc>
                 <lastmod>{item.lastMod -> f:format.date(format: 'c')}</lastmod>
+                <f:if condition="{item.changefreq}">
+                    <changefreq>{item.changefreq}</changefreq>
+                </f:if>
+                <priority>{item.priority}</priority>
             </url>
         </f:if>
     </f:for>