Mity Docs Mity Docs for Mity Digital
Sitemapamic Documentation

Publishing the sitemap views

For most cases, you can use the default XML layout. If you need to be making changes, you can publish these:

1php artisan vendor:publish --tag=sitemapamic-views

This will publish Sitemapamic’s Blade templates in to your site.

There are two types:

  1. index, for the components of the main index sitemap generation, and

  2. urlset, for the components for each individual URL within a sitemap

Each includes three files:

  1. start.blade.php for the start of the element

  2. sitemap.blade.php (for index) and url.blade.php (for urlset) for the main body

  3. end.blade.php for the end of the element

These have been split to allow Sitemapamic to improve performance and apply auto-splitting for sitemap size.