Update (sitemap)
This commit is contained in:
11
resources/views/vendor/sitemap/news.blade.php
vendored
Normal file
11
resources/views/vendor/sitemap/news.blade.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<news:news>
|
||||
<news:publication>
|
||||
<news:name>{{ $news->name }}</news:name>
|
||||
<news:language>{{ $news->language }}</news:language>
|
||||
</news:publication>
|
||||
<news:title>{{ $news->title }}</news:title>
|
||||
<news:publication_date>{{ $news->publicationDate->toW3cString() }}</news:publication_date>
|
||||
@foreach($news->options as $tag => $value)
|
||||
<news:{{$tag}}>{{$value}}</news:{{$tag}}>
|
||||
@endforeach
|
||||
</news:news>
|
||||
Reference in New Issue
Block a user