<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  {% for page in pages %}
  <url>
    <loc>{{ url }}{{ page.url }}</loc>
    {% if page.lastmod %}<lastmod>{{ page.lastmod }}</lastmod>{% endif %}
    <changefreq>{{ page.changefreq | default('monthly') }}</changefreq>
    <priority>{{ page.priority | default('0.5') }}</priority>
  </url>
  {% endfor %}
</urlset>
