<?= '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    @foreach($sitemaps as $url => $lastmod)
    <sitemap>
        <loc>{{ url($url) }}</loc>
        <lastmod>{{ $lastmod instanceof \Carbon\Carbon ? $lastmod->toAtomString() : $lastmod }}</lastmod>
    </sitemap>
    @endforeach
</sitemapindex>