added theme support

This commit is contained in:
Mark Gregory
2026-10-20 10:38:03 +01:00
parent c198374d49
commit b159b2e16c
41 changed files with 0 additions and 1474 deletions
@@ -1,18 +0,0 @@
{!! '<?xml version="1.0" encoding="UTF-8"?>' !!}
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
@foreach($static as $item)
<url>
<loc>{{ route($item['route']) }}</loc>
<changefreq>{{ $item['frequency'] }}</changefreq>
<priority>{{ $item['priority'] }}</priority>
</url>
@endforeach
@foreach($pages as $page)
<url>
<loc>{{ route('cms.show', $page->slug) }}</loc>
<lastmod>{{ $page->updated_at->toAtomString() }}</lastmod>
<changefreq>{{ $page->sitemap_change_frequency }}</changefreq>
<priority>{{ number_format((float) $page->sitemap_priority, 1, '.', '') }}</priority>
</url>
@endforeach
</urlset>