SEO polish: facility structured data + trim homepage description
- Add SeoJsonLd.MedicalOrganization (Hospital/MedicalClinic schema with address, geo coords, and aggregateRating) and emit it on facility detail pages — only for real named facilities (not the «نامشخص» placeholder) — so Google can show a rich place result. Facility pages previously had no JSON-LD at all. - Trim the homepage meta description from 193 to ~135 chars so Google doesn''t truncate it. (Shift-detail canonical was a non-issue: the layout correctly omits canonical only on noindex pages, which is what the audited past shift was.) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -149,3 +149,12 @@
|
||||
{
|
||||
<partial name="_NeshanMap" model="Model.MapKey" />
|
||||
}
|
||||
|
||||
@* Place/clinic structured data — only for a real named facility (not the «نامشخص» placeholder). *@
|
||||
@if (JobsMedical.Web.Services.SeoJsonLd.HasRealEmployer(f))
|
||||
{
|
||||
var bu = $"{ViewContext.HttpContext.Request.Scheme}://{ViewContext.HttpContext.Request.Host}";
|
||||
@Html.Raw("<script type=\"application/ld+json\">"
|
||||
+ JobsMedical.Web.Services.SeoJsonLd.MedicalOrganization(f, bu, Model.AvgRating, Model.RatingCount)
|
||||
+ "</script>")
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@model IndexModel
|
||||
@{
|
||||
ViewData["Title"] = null; // use default site title for the home page (best for SEO)
|
||||
ViewData["Description"] = "همکادر؛ سریعترین راه برای کادر درمان (پزشک، پرستار، ماما، تکنسین) جهت یافتن شیفت و موقعیت استخدامی در بیمارستانها و کلینیکهای تهران. بهجای گشتن در کانالهای تلگرام و بله، همه فرصتها یکجا.";
|
||||
ViewData["Description"] = "یافتن شیفت و موقعیت استخدامی کادر درمان (پزشک، پرستار، ماما، تکنسین) در بیمارستانها و کلینیکهای تهران — همهٔ فرصتها یکجا در همکادر.";
|
||||
}
|
||||
|
||||
<section class="hero">
|
||||
|
||||
Reference in New Issue
Block a user