From a432fce85893e281dbbfe238b51b7db7790865c9 Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Sat, 20 Jun 2026 17:59:01 +0330 Subject: [PATCH] Internal links to SEO landing pages (role quick-links on list pages) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The /استخدام/{role}/{city} and /شیفت/{role} landing pages were only reachable via the sitemap — no internal links, which is weak for ranking. Add a role quick-link chip strip to the Jobs and Shifts list pages linking to the per-role landing URLs. Since those list pages ARE the landing pages, this also cross-links every landing page to all the others, building an internal-link mesh that passes authority and aids crawl far more than the sitemap alone. Improvement 2 of the backlog (SEO). Co-Authored-By: Claude Opus 4.8 --- src/JobsMedical.Web/Pages/Jobs/Index.cshtml | 12 ++++++++++++ src/JobsMedical.Web/Pages/Shifts/Index.cshtml | 11 +++++++++++ src/JobsMedical.Web/wwwroot/css/site.css | 6 ++++++ 3 files changed, 29 insertions(+) diff --git a/src/JobsMedical.Web/Pages/Jobs/Index.cshtml b/src/JobsMedical.Web/Pages/Jobs/Index.cshtml index eab5f74..804b46a 100644 --- a/src/JobsMedical.Web/Pages/Jobs/Index.cshtml +++ b/src/JobsMedical.Web/Pages/Jobs/Index.cshtml @@ -18,6 +18,18 @@
+ @if (Model.Roles.Count > 0) + { + @* Internal links to the SEO landing pages (/استخدام/{نقش}) — and since this page IS the + landing page, every landing page cross-links to all the others. *@ + + }
+ @if (Model.Roles.Count > 0) + { + @* Internal links to the SEO landing pages (/شیفت/{نقش}); this page is itself such a page. *@ + + }