Blame view

resources/views/sitemap/matches.blade.php 604 Bytes
e77200db5   nologostudio.ru   Initial commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  <?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
  
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
      @foreach ($matches as $match)
          <url>
              <loc>
                  {{
                      route('matchReview', [
                          'id' => $match->matchId,
                          'slug' => FootyRoom\Http\Match\MatchSlug::fromTeams(
                              $match->homeTeam->name,
                              $match->awayTeam->name
                          ),
                      ])
                  }}
              </loc>
          </url>
      @endforeach
  </urlset>