Update (sitemap)

This commit is contained in:
2023-11-29 22:44:55 +08:00
parent d8bf8784a6
commit 3d0873c5af
9 changed files with 118 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
<?= '<'.'?'.'xml version="1.0" encoding="UTF-8"?>'."\n"; ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
@foreach($tags as $tag)
@include('sitemap::' . $tag->getType())
@endforeach
</urlset>