const sitemapIndex = `<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

  <sitemap>
    <loc>https://www.rpovoadata.tech/sitemap-pages.xml</loc>
    <lastmod>${lastCommitDate}</lastmod>
  </sitemap>

  <sitemap>
    <loc>https://www.rpovoadata.tech/sitemap-projects.xml</loc>
    <lastmod>${lastCommitDate}</lastmod>
  </sitemap>

</sitemapindex>`;

fs.writeFileSync("./dist/sitemap.xml", sitemapIndex);