<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
@foreach ($items as $item)
    <sitemap>
        <loc>{{ e($item->loc) }}</loc>
@if ($item->lastModified)
    <lastmod>{{ $item->lastModified->format(DATE_ATOM) }}</lastmod>
@endif
    </sitemap>
@endforeach
</sitemapindex>