<urlset 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/sitemap.xsd">
@if($settings->website_status == 1)
    @if($websites)
        @foreach($websites as $website)
            <url>
                <loc>{{ route('site.name', [$website->name]) }}</loc>
                <changefreq>daily</changefreq>
                <priority>1</priority>
            </url>
        @endforeach
    @endif
@endif
</urlset>