Merge pull request #4147 from sbwalker/dev

fix SiteMap path issue
This commit is contained in:
Shaun Walker
2024-04-16 13:04:39 -04:00
committed by GitHub

View File

@ -63,7 +63,7 @@ namespace Oqtane.Pages
{
pageurl += (page.Url.StartsWith("/") ? "" : "/") + page.Url;
}
sitemap.Add(new Sitemap { Url = rooturl + pageurl, ModifiedOn = DateTime.UtcNow });
sitemap.Add(new Sitemap { Url = pageurl, ModifiedOn = DateTime.UtcNow });
foreach (var pageModule in pageModules.Where(item => item.PageId == page.PageId))
{