<?xml version="1.0" encoding="UTF-8"?>

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

    <url>
        <loc><%= build_url %></loc>
        <changefreq>daily</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc><%= build_url %>/about</loc>
        <changefreq>never</changefreq>
        <priority>0.7</priority>
    </url>

    <url>
        <loc><%= build_url %>/feedback</loc>
        <changefreq>never</changefreq>
        <priority>0.6</priority>
    </url>

    <% for _, value in ipairs(problems) do %>
    <% render("views.sitemap.problem", { url = value }) %>
    <% end %>

</urlset> 