diff options
Diffstat (limited to 'resources/views/modules/sitemap/sitemap-index.xml.php')
| -rw-r--r-- | resources/views/modules/sitemap/sitemap-index.xml.php | 124 |
1 files changed, 62 insertions, 62 deletions
diff --git a/resources/views/modules/sitemap/sitemap-index.xml.php b/resources/views/modules/sitemap/sitemap-index.xml.php index 4daf2fe59c..62b5e79643 100644 --- a/resources/views/modules/sitemap/sitemap-index.xml.php +++ b/resources/views/modules/sitemap/sitemap-index.xml.php @@ -1,68 +1,68 @@ <?xml version="1.0" encoding="UTF-8" ?> <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> - <?php foreach ($count_individuals as $tree_id => $count): ?> - <?php for ($i = 0; $i <= $count / $records_per_volume; ++$i): ?> - <sitemap> - <loc> - <?= e(route('module', ['module' => 'sitemap', 'action' => 'File', 'file' => $tree_id . '-i-' . $i])) ?> - </loc> - <lastmod> - <?= $last_mod ?> - </lastmod> - </sitemap> - <?php endfor ?> - <?php endforeach ?> - - <?php foreach ($count_media as $tree_id => $count): ?> - <?php for ($i = 0; $i <= $count / $records_per_volume; ++$i): ?> - <sitemap> - <loc> - <?= e(route('module', ['module' => 'sitemap', 'action' => 'File', 'file' => $tree_id . '-m-' . $i])) ?> - </loc> - <lastmod> - <?= $last_mod ?> - </lastmod> - </sitemap> - <?php endfor ?> - <?php endforeach ?> + <?php foreach ($count_individuals as $tree_id => $count) : ?> + <?php for ($i = 0; $i <= $count / $records_per_volume; ++$i) : ?> + <sitemap> + <loc> + <?= e(route('module', ['module' => 'sitemap', 'action' => 'File', 'file' => $tree_id . '-i-' . $i])) ?> + </loc> + <lastmod> + <?= $last_mod ?> + </lastmod> + </sitemap> + <?php endfor ?> + <?php endforeach ?> + + <?php foreach ($count_media as $tree_id => $count) : ?> + <?php for ($i = 0; $i <= $count / $records_per_volume; ++$i) : ?> + <sitemap> + <loc> + <?= e(route('module', ['module' => 'sitemap', 'action' => 'File', 'file' => $tree_id . '-m-' . $i])) ?> + </loc> + <lastmod> + <?= $last_mod ?> + </lastmod> + </sitemap> + <?php endfor ?> + <?php endforeach ?> - <?php foreach ($count_notes as $tree_id => $count): ?> - <?php for ($i = 0; $i <= $count / $records_per_volume; ++$i): ?> - <sitemap> - <loc> - <?= e(route('module', ['module' => 'sitemap', 'action' => 'File', 'file' => $tree_id . '-i-' . $i])) ?> - </loc> - <lastmod> - <?= $last_mod ?> - </lastmod> - </sitemap> - <?php endfor ?> - <?php endforeach ?> - - <?php foreach ($count_repositories as $tree_id => $count): ?> - <?php for ($i = 0; $i <= $count / $records_per_volume; ++$i): ?> - <sitemap> - <loc> - <?= e(route('module', ['module' => 'sitemap', 'action' => 'File', 'file' => $tree_id . '-r-' . $i])) ?> - </loc> - <lastmod> - <?= $last_mod ?> - </lastmod> - </sitemap> - <?php endfor ?> - <?php endforeach ?> + <?php foreach ($count_notes as $tree_id => $count) : ?> + <?php for ($i = 0; $i <= $count / $records_per_volume; ++$i) : ?> + <sitemap> + <loc> + <?= e(route('module', ['module' => 'sitemap', 'action' => 'File', 'file' => $tree_id . '-i-' . $i])) ?> + </loc> + <lastmod> + <?= $last_mod ?> + </lastmod> + </sitemap> + <?php endfor ?> + <?php endforeach ?> + + <?php foreach ($count_repositories as $tree_id => $count) : ?> + <?php for ($i = 0; $i <= $count / $records_per_volume; ++$i) : ?> + <sitemap> + <loc> + <?= e(route('module', ['module' => 'sitemap', 'action' => 'File', 'file' => $tree_id . '-r-' . $i])) ?> + </loc> + <lastmod> + <?= $last_mod ?> + </lastmod> + </sitemap> + <?php endfor ?> + <?php endforeach ?> - <?php foreach ($count_sources as $tree_id => $count): ?> - <?php for ($i = 0; $i <= $count / $records_per_volume; ++$i): ?> - <sitemap> - <loc> - <?= e(route('module', ['module' => 'sitemap', 'action' => 'File', 'file' => $tree_id . '-s-' . $i])) ?> - </loc> - <lastmod> - <?= $last_mod ?> - </lastmod> - </sitemap> - <?php endfor ?> - <?php endforeach ?> + <?php foreach ($count_sources as $tree_id => $count) : ?> + <?php for ($i = 0; $i <= $count / $records_per_volume; ++$i) : ?> + <sitemap> + <loc> + <?= e(route('module', ['module' => 'sitemap', 'action' => 'File', 'file' => $tree_id . '-s-' . $i])) ?> + </loc> + <lastmod> + <?= $last_mod ?> + </lastmod> + </sitemap> + <?php endfor ?> + <?php endforeach ?> </sitemapindex> |
