$url = new SitemapUrl();
$url->path = '/tech';
$url->lastmod = Technique::where('type', '=', 'tech')->where('index', true)->latest()->first()->created_at;
$url->changefreq = 'monthly';
$url = new SitemapUrl();
$url->path = '/tech';
$url->lastmod = Technique::where('type', '=', 'tech')->where('index', true)->latest()->first()->created_at;
$url->changefreq = 'monthly';