init
This commit is contained in:
14
resources/views/public/sitemap.blade.php
Normal file
14
resources/views/public/sitemap.blade.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
@foreach($urls as $url)
|
||||
<url>
|
||||
<loc>{{ $url['loc'] }}</loc>
|
||||
@if(!empty($url['lastmod']))
|
||||
<lastmod>{{ $url['lastmod'] }}</lastmod>
|
||||
@endif
|
||||
@if(!empty($url['priority']))
|
||||
<priority>{{ $url['priority'] }}</priority>
|
||||
@endif
|
||||
</url>
|
||||
@endforeach
|
||||
</urlset>
|
||||
Reference in New Issue
Block a user