Skip to content

feat(seo): improve gallery structured data, object hubs, image sitemap, and sitelinks signals - #33

Merged
patrick11514 merged 2 commits into
mainfrom
feat/seo-improvements
Dec 1, 2026
Merged

patrick11514 merged 2 commits into
mainfrom
feat/seo-improvements

Conversation

@patrick11514

Copy link
Copy Markdown
Collaborator

Summary

  • Canonical domain & sitelinks signals:
    • Pin canonical origin to https://patrik.mintel.cz in src/lib/seo.ts, SEO.svelte, sitemap.xml, and static/robots.txt, and 301-redirect legacy patrick115.eu / www.patrick115.eu hosts in src/hooks.server.ts.
    • Change root / -> /cs redirect from 302 to 301 and remove trailing slashes on home links in Navigation.svelte.
    • Use a brand-first homepage <title> and move robots/keywords meta handling into SEO.svelte (no noindex added on /login or /admin).
    • Add SiteNavigationElement, BreadcrumbList JSON-LD, and semantic footer navigation links in Footer.svelte.
  • Gallery SEO, object hub pages & image sitemap:
    • Emit Article and ImageObject/Photograph JSON-LD with exifData (PropertyValue[]) for astronomical objects, equipment specs, total light exposure, frame count, RA/DEC, and FOV.
    • Auto-enrich gallery titles, meta descriptions, OG article tags, and fallback image alt text.
    • Keep exposure log and equipment details rendered in SSR HTML and mark hero image loading="eager" / fetchpriority="high".
    • Add indexable /[lang]/gallery/object/[id] hub pages with CollectionPage + ItemList JSON-LD and crawlable links from /[lang]/gallery.
    • Extend sitemap.xml with Google Image Sitemap (xmlns:image) entries and object hub URLs.

Verification

  • pnpm check, pnpm lint, and pnpm build all passed.

This pull request was written by Gemini Code Assist [Gemini 4 Hydrogen].

patrick11514 and others added 2 commits December 1, 2026 21:35
…rumbs

- Pin canonical origin to https://patrik.mintel.cz and 301-redirect legacy patrick115.eu host
- Change root language redirect from 302 to 301 and remove trailing slashes on home links
- Use brand-first homepage title and move robots/keywords meta handling into SEO.svelte
- Add SiteNavigationElement, BreadcrumbList JSON-LD, and semantic footer navigation links

Co-authored-by: antigravity [Gemini 4 Neon] <200291788+gemini-code-assist@users.noreply.github.com>
…mage sitemap

- Emit Article + ImageObject/Photograph JSON-LD with exifData for objects, equipment specs, exposure, and RA/DEC/FOV
- Auto-enrich gallery titles, meta descriptions, OG article tags, and fallback image alt text
- Keep exposure log and equipment details rendered in SSR HTML and mark hero image eager/high priority
- Add indexable /gallery/object/[id] hub pages with crawlable links and CollectionPage schema
- Extend sitemap.xml with Google Image Sitemap entries and object hub URLs

Co-authored-by: antigravity [Gemini 4 Neon] <200291788+gemini-code-assist@users.noreply.github.com>
@patrick11514

Copy link
Copy Markdown
Collaborator Author

!deploy

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

🚀 Preview deployed for commit 871c5d4:

https://preview-web-pr-33.mintel.cz

@patrick11514

Copy link
Copy Markdown
Collaborator Author

!destroy

@patrick11514

Copy link
Copy Markdown
Collaborator Author

!teardown

@patrick11514
patrick11514 merged commit 0582df3 into main Dec 1, 2026
2 checks passed
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

🧹 Preview environment torn down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant