diff --git a/backend/app/seo_pages.py b/backend/app/seo_pages.py index 40db4f7..8ffa12f 100644 --- a/backend/app/seo_pages.py +++ b/backend/app/seo_pages.py @@ -850,6 +850,10 @@ def _site_content_html(db: Session, page_key: str, lang: str) -> str: line += f" — {esc(bits)}" if tail: line += f" [{esc(tail)}]" + # پیوند صریح به آرشیو تصاویر همان پروژه + zip_url = _absolute(f"/projects/{urllib.parse.quote(p.slug)}/images.zip") + zip_label = "images (ZIP)" if lang == "en" else "تصاویر (ZIP)" + line += f' — {esc(zip_label)}' items += f"
  • {line}
  • " parts.append(f"

    {'Our Projects' if lang == 'en' else 'پروژه‌های ما'}

    ") @@ -1150,7 +1154,14 @@ def _project_content_html(project: models.Project, lang: str, brand: str) -> str + f'" /> {esc(title)}' for p in images[:12] ) - parts.append(f"

    {label}

    ") + # پیوند واقعی به آرشیو ZIP — دستیارهای AI الگو نمی‌سازند؛ باید لینک صریح ببینند + zip_url = _absolute(f"/projects/{urllib.parse.quote(project.slug)}/images.zip") + archive_label = "Download all images (ZIP)" if lang == "en" else "دانلود همهٔ تصاویر (ZIP)" + parts.append( + f"

    {label}

    " + f'

    {esc(archive_label)}

    ' + f"" + ) return "".join(parts)