<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
                                  http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd">

  <!-- ══════════════════════════════════════════════════════════════════
       Static sitemap — lists all static pages (/, /news, /media,
       /ppdb, /ppdb/form, /nuredu). Served directly from the Vite build.
       ══════════════════════════════════════════════════════════════════ -->
  <sitemap>
    <loc>https://smpnurulhaq.sch.id/sitemap.xml</loc>
    <lastmod>2026-09-05</lastmod>
  </sitemap>

  <!-- ══════════════════════════════════════════════════════════════════
       Dynamic sitemap — generated by the Nuredu backend at request time.
       Includes every published news & media article with proper lastmod,
       changefreq, and priority. Automatically stays up to date as
       articles are added, edited, or removed.
       ══════════════════════════════════════════════════════════════════ -->
  <sitemap>
    <loc>https://nuredu.smpnurulhaq.sch.id/api/sitemap</loc>
    <lastmod>2026-09-05</lastmod>
  </sitemap>

</sitemapindex>
