You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/resources/views/sitemap/cats.blade.php

13 lines
326 B
PHTML

@extends('sitemap.layout')
@section('content')
@foreach($items as $item)
<url>
<loc>{{route('cat',$item->slug)}}</loc>
<lastmod>{{ $item->updated_at->tz('UTC')->toAtomString() }}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
@endforeach
@endsection