Initial commit

This commit is contained in:
Ahrom
2025-11-16 12:43:07 +03:30
commit 4bbe56b83f
16778 changed files with 1914371 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
@if (count($blogs) > 0)
@foreach ($blogs as $blog)
<url>
@if ($blog->status == 1)
<loc>{{ route('detail', ['slug' => $blog->slug]).'/' }}</loc>
<lastmod>{{ $blog->updated_at->setTimezone('Asia/Tehran')->toAtomString() }}</lastmod>
<image:image>
<image:loc>{{ env('APP_URL_IMAGE').'images/'.$blog->image }}</image:loc>
</image:image>
@if (isset($blogImages[$blog->id]))
@foreach ($blogImages[$blog->id] as $imageUrl)
<image:image>
<image:loc>{{ $imageUrl }}</image:loc>
</image:image>
@endforeach
@endif
@endif
</url>
@endforeach
@endif
</urlset>