@if(\App\Models\Clip::count() > 0)
{{route('client.clips')}}
{{\App\Models\Clip::orderByDesc('updated_at')->first()->updated_at->tz('UTC')->toAtomString()}}
weekly
2
@endif
@foreach(\App\Models\Clip::where('status',1)->orderBy('id')->get(['slug','updated_at']) as $item)
{{route('client.clip',$item->slug)}}
{{$item->updated_at->tz('UTC')->toAtomString()}}
weekly
3
@endforeach
@if(config('app.xlang.active'))
@foreach(\App\Models\XLang::where('is_default',0)->pluck('tag')->toArray() as $lang)
@php(app()->setLocale($lang))
@if(\App\Models\Clip::count() > 0)
{{route('client.clips')}}/{{$lang}}
{{\App\Models\Clip::orderByDesc('updated_at')->first()->updated_at->tz('UTC')->toAtomString()}}
weekly
2
@endif
@foreach(\App\Models\Clip::where('status',1)->whereLocale('title',$lang)->orderBy('id')->get(['slug','updated_at','title']) as $item)
{{$item->webUrl()}}
{{$item->updated_at->tz('UTC')->toAtomString()}}
weekly
3
@endforeach
@endforeach
@endif