Skip to content

Commit

Permalink
remove deprecated tgas from url blade (#545)
Browse files Browse the repository at this point in the history
Co-authored-by: hmdshariati <h.shariati@drdr.doctor>
  • Loading branch information
rivassh and hshariati authored May 2, 2024
1 parent a44ae1a commit cfa3184
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions resources/views/url.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@
@if (! empty($tag->lastModificationDate))
<lastmod>{{ $tag->lastModificationDate->format(DateTime::ATOM) }}</lastmod>
@endif
@if (! empty($tag->changeFrequency))
<changefreq>{{ $tag->changeFrequency }}</changefreq>
@endif
<priority>{{ number_format($tag->priority,1) }}</priority>

@each('sitemap::image', $tag->images, 'image')
@each('sitemap::video', $tag->videos, 'video')
@each('sitemap::news', $tag->news, 'news')
Expand Down

2 comments on commit cfa3184

@AllCdnBoy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be optional. This still exists as a sitemap.org protocol, so even if Google says they don't use it, it seems like it might still hold some value

@F-Andre
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with AllCdnBoy. If these tags are removed, it would be a good idea to remove the methods as well and update the readme file.

Please sign in to comment.