@foreach($pages as $page) {{ $page['loc'] }} @if(!empty($page['lastmod'])) {{ \Illuminate\Support\Carbon::parse($page['lastmod'])->toAtomString() }} @endif {{ $page['freq'] }} {{ $page['priority'] }} @endforeach @foreach($properties as $property) {{ route('properties.show', $property) }} {{ $property->updated_at->toAtomString() }} weekly 0.8 @endforeach