use App\Models\SitemapUrl;
use App\Models\Technique;
+use App\Models\TechniqueMap;
use App\Models\Tournament;
use Illuminate\Http\Request;
$urls[] = $url;
}
+ $url = new SitemapUrl();
+ $url->path = '/map';
+ $url->lastmod = TechniqueMap::latest()->first()->created_at;
+ $url->changefreq = 'monthly';
+ $url->priority = 0.9;
+ $urls[] = $url;
+
$url = new SitemapUrl();
$url->path = '/tech';
$url->lastmod = Technique::where('type', '=', 'tech')->where('index', true)->latest()->first()->created_at;
$url->changefreq = 'monthly';
- $url->priority = 0.5;
+ $url->priority = 0.8;
$urls[] = $url;
foreach (Technique::where('type', '=', 'tech')->where('index', true)->get() as $tech) {