{{-- Home --}}
{{ url('/') }}
daily
1.0
{{-- Static pages --}}
@foreach($pages as $page)
{{ url('/page/'.rawurlencode($page->slug)) }}
monthly
0.7
@endforeach
{{-- Blog list and categories --}}
{{ url('/blog') }}
daily
0.8
@foreach($categories as $cat)
{{ url('/blog?category='.$cat->id) }}
weekly
0.6
@endforeach
{{-- Blog posts --}}
@foreach($blogs as $blog)
{{ url('/blog-details/'.rawurlencode($blog->slug).'/'.$blog->id) }}
{{ optional($blog->updated_at)->toAtomString() ?? optional($blog->created_at)->toAtomString() }}
monthly
0.7
@endforeach