feat(resume): serve each locale its own HTML head and a sitemap #113
No reviewers
Labels
No labels
needs-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
cjournois/resume!113
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/improve-locale-head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A link preview that reads raw HTML (LinkedIn, an application letter) showed the generic English title with no image, even for /fr, and the site had no sitemap. Proposal 2026-11-04-1.
/en and /fr each serve their own head: lang, title, description, canonical, hreflang (en, fr, x-default), og:locale and a 1200x627 og:image; the client SEO code builds the same values from one helper.
sitemap.xml and the robots.txt Sitemap line now ship, since the Containerfile defaults VITE_SITE_URL to https://cjournois.com; the entrypoint injection and gettext are gone.
nginx tries
$uri/index.htmlbefore$uri/, so /fr returns 200 instead of a 301 to /fr/./fr: 200, no Location, lang="fr", French description, canonical https://cjournois.com/fr, hreflang en/fr/x-default, og:locale fr_FR
/en: lang="en", canonical https://cjournois.com/en
og:image https://cjournois.com/assets/og-image.png serves image/png, 1200x627
/sitemap.xml lists /en and /fr; robots.txt has the Sitemap line
fr personalWebsiteUrl is https://cjournois.com/fr
entrypoint.sh, seo-inject.template, RT_SEO_INJECT gone;
just lint testand e2e smoke (8/8) passVerified: curl against the built image on localhost:8080; the build needed janus's CA for apk locally, as main does.
Session: a446d0ea-75f1-4a61-b4e6-c7c544e458c3
WIP: feat(resume): serve each locale its own HTML head and a sitemapto feat(resume): serve each locale its own HTML head and a sitemap