{!! '<?xml version="1.0" encoding="UTF-8"?>' !!}
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
@foreach($brands as $brand)
    <url>
        <loc>{{ route('shop.brand', $brand) }}</loc>
        @if(!empty($brand->sitemap_lastmod))
        <lastmod>{{ $brand->sitemap_lastmod->toAtomString() }}</lastmod>
        @endif
        <changefreq>weekly</changefreq>
        <priority>0.7</priority>
    </url>
@endforeach
</urlset>
