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,8 @@
<sitemap>
@if (! empty($tag->url))
<loc>{{ url($tag->url) }}</loc>
@endif
@if (! empty($tag->lastModificationDate))
<lastmod>{{ $tag->lastModificationDate->format(DateTime::ATOM) }}</lastmod>
@endif
</sitemap>