{!! '<' . '?xml version="1.0" encoding="UTF-8"?' . '>' !!} {{-- Static Pages --}} @foreach($pages as $page) {{ $page->slug === 'home' ? url('/') : url($page->slug) }} {{ $page->updated_at->toAtomString() }} weekly 0.8 @endforeach {{-- Services --}} @foreach($services as $service) {{ route('services.show', $service->slug) }} {{ $service->updated_at->toAtomString() }} monthly 0.9 @endforeach {{-- Blogs --}} @foreach($blogs as $blog) {{ route('blogs.show', $blog->slug) }} {{ $blog->published_at->toAtomString() }} weekly 0.7 @endforeach {{-- Cars --}} @foreach($cars as $car) {{ route('cars.show', $car->slug) }} {{ $car->updated_at->toAtomString() }} weekly 0.9 @endforeach