Commit Graph

3 Commits

Author SHA1 Message Date
soroush.asadi 1c9d8cdc1b feat(seo): FAQPage structured data on blog posts
CI/CD / CI · dotnet build (push) Successful in 16m5s
CI/CD / Deploy · drsousan (push) Successful in 29s
Extracts Q/A pairs from the post body (an <h3> ending in the Persian
question mark ؟ followed by the next <p>) and emits FAQPage JSON-LD in
<head>. Makes posts with FAQ sections eligible for FAQ rich results in
Google. Non-question <h3> headings are ignored.

Verified: post with 3 h3s emits exactly 2 Question entries (the plain
heading excluded), valid escaped JSON.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 01:02:44 +03:30
soroush.asadi b3c4615bc7 fix: replace emoji with hero image in blog sidebar doctor card
CI/CD / CI · dotnet build (push) Successful in 51s
CI/CD / Deploy · drsousan (push) Failing after 5m40s
- Post.cshtml.cs: load hero image, tag from SiteSettings in SetViewDataAsync
- Post.cshtml: show <img> with hero image in .doc-avatar when set,
  fall back to emoji only if no image is configured
- .doc-avatar: circular crop with object-fit:cover, gold border
- doc-title now uses HeroTag from settings (not hardcoded)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-02 15:15:06 +03:30
soroush.asadi 96e73bf633 first commit
CI/CD / CI · dotnet build (push) Failing after 0s
CI/CD / Deploy · drsousan (push) Has been skipped
2026-05-31 00:42:08 +03:30