#239 return to home page for the map page and adding this page to the sitemap.xml

This commit is contained in:
Hamid Reza Mohammadi 2021-11-12 15:05:54 +03:30
parent 817fbe2b5e
commit 0766c98d82
2 changed files with 3 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<head>
<title>نقشهٔ گنجور</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="noindex, nofollow" />
<meta name="description" content="شاعران و نویسندگان گنجور روی نقشهٔ جغرافیایی" />
<meta charset="utf-8" />
<link href="/css/p8.css?version=16" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/css/leaflet.css" />
@ -144,7 +144,7 @@
<div class="century" id="rangeText"></div>
<div>
<p>
نقشهٔ خاستگاه سخن‌سرایان گنجور
نقشهٔ خاستگاه سخن‌سرایان <a href="/" style="text-decoration:none">گنجور</a>
</p>
</div>
</div>

View File

@ -73,6 +73,7 @@ namespace RMuseum.Services.Implementation
sitemaps.Add(firstSitemap);
var urls = await context.GanjoorPages.Where(p => p.PoetId == null).OrderBy(p => p.Id).Select(p => p.FullUrl).ToListAsync();
urls.Add("/map");
urls.Remove("/audioclip");
urls.Remove("/simi");