seitime-frappe/frappe/www/sitemap.xml
Faris Ansari 51ece4a920 feat: Flip sitemap switch
BREAKING CHANGE
A route is added to the sitemap if no_sitemap is not set.
This PR reverses this design. Because sitemap should contain publicly accessible pages and not utility pages.
Also, having lots of utility pages on sitemap does more harm than good.
2019-03-19 15:12:28 +05:30

9 lines
No EOL
231 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for link in links %}
<url>
<loc>{{ link.loc }}</loc>
<lastmod>{{ link.lastmod }}</lastmod>
</url>
{% endfor %}
</urlset>