27 lines
769 B
PHP
27 lines
769 B
PHP
<?xml version="1.0" encoding="UTF-8"?>
|
|||
|
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||
|
|
<url>
|
||
|
|
<loc>{{ route('home') }}</loc>
|
||
|
|
<changefreq>daily</changefreq>
|
||
|
|
<priority>1.0</priority>
|
||
|
|
</url>
|
||
|
|
<url>
|
||
|
|
<loc>{{ route('sites.index') }}</loc>
|
||
|
|
<changefreq>daily</changefreq>
|
||
|
|
<priority>0.8</priority>
|
||
|
|
</url>
|
||
|
|
<url>
|
||
|
|
<loc>{{ route('discover') }}</loc>
|
||
|
|
<changefreq>daily</changefreq>
|
||
|
|
<priority>0.7</priority>
|
||
|
|
</url>
|
||
|
|
@foreach ($sites as $site)
|
||
|
|
<url>
|
||
|
|
<loc>{{ route('sites.show', $site) }}</loc>
|
||
|
|
<lastmod>{{ $site->updated_at->toAtomString() }}</lastmod>
|
||
|
|
<changefreq>weekly</changefreq>
|
||
|
|
<priority>0.5</priority>
|
||
|
|
</url>
|
||
|
|
@endforeach
|
||
|
|
</urlset>
|