M0: Laravel 12 + Filament 5.7 脚手架,安装 spatie 全家桶/workerman/yansongda/pay,基础配置
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
<url>
|
||||
@if (! empty($tag->url))
|
||||
<loc>{{ url($tag->url) }}</loc>
|
||||
@endif
|
||||
@if (count($tag->alternates))
|
||||
@foreach ($tag->alternates as $alternate)
|
||||
<xhtml:link rel="alternate" hreflang="{{ $alternate->locale }}" href="{{ url($alternate->url) }}" />
|
||||
@endforeach
|
||||
@endif
|
||||
@if (! is_null($tag->lastModificationDate))
|
||||
<lastmod>{{ $tag->lastModificationDate->format(DateTime::ATOM) }}</lastmod>
|
||||
@endif
|
||||
@if (! is_null($tag->changeFrequency))
|
||||
<changefreq>{{ $tag->changeFrequency }}</changefreq>
|
||||
@endif
|
||||
@if (! is_null($tag->priority))
|
||||
<priority>{{ number_format($tag->priority, 1) }}</priority>
|
||||
@endif
|
||||
@each('sitemap::image', $tag->images, 'image')
|
||||
@each('sitemap::video', $tag->videos, 'video')
|
||||
@each('sitemap::news', $tag->news, 'news')
|
||||
</url>
|
||||
Reference in New Issue
Block a user