X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fviews%2Fsitemap.blade.php;h=375be393fd11a0028a0e8eb9916d4807cf6b29be;hb=f0ca8caa3db00bedbf2b992d3d72b401bf353689;hp=f9cf5bf3c8089c2f1cc9d46587aab606e1f13219;hpb=3a432819085afd3db5db9aa04b31c3671e7e3e52;p=alttp.git diff --git a/resources/views/sitemap.blade.php b/resources/views/sitemap.blade.php index f9cf5bf..375be39 100644 --- a/resources/views/sitemap.blade.php +++ b/resources/views/sitemap.blade.php @@ -3,7 +3,9 @@ @foreach ($urls as $url) {{ url($url->path) }} - {{ $url->lastmod->tz('UTC')->toAtomString() }} + @if ($url->lastmod) + {{ $url->lastmod->tz('UTC')->toAtomString() }} + @endif {{ $url->changefreq }} {{ $url->priority }}