Skip to content

feat(site): declare the site as English-only - #144

Merged
BryanFRD merged 1 commit into
mainfrom
feat/site-single-locale
Aug 18, 2026
Merged

feat(site): declare the site as English-only#144
BryanFRD merged 1 commit into
mainfrom
feat/site-single-locale

Conversation

@BryanFRD

Copy link
Copy Markdown
Contributor

@ferrlabs/ui-ng@1.23.0 (pulled in by #142) carries the locales option added in UI#401, so the site can finally say it ships one language.

Without it the navbar rendered an EN/FR switcher and the shell emitted hreflang alternates, both pointing at a /fr/ that was never built. The alternate was the worse half: a visible link a reader might not click is one thing, an hreflang is a promise a crawler follows.

Verified: pnpm typecheck clean, pnpm build produces the same 25 pages, and the prerendered HTML now carries no hreflang at all.

This was the last thing holding the site back from deployment.

It is also, deliberately, the commit that cuts the site's first release. Nothing had triggered one since the versioning split: every commit on main since v0.39.0 has been ci:, chore: or a docs: touching server files, none of which bump anything. So the site image had never been built — not because the build was broken, but because it had never been asked to run. With #143 merged, site@2026.8.18 should now route to Build & Push Site and land ghcr.io/ferrlabs/lfsx/site.

Copilot AI lite review requested due to automatic review settings August 18, 2026 08:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@BryanFRD
BryanFRD enabled auto-merge (squash) August 18, 2026 08:48

@ferrfleet ferrfleet Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small, well-scoped change: bumps @ferrlabs/ui-ng to 1.23.0 (lockfile + package.json in sync) and sets locales: ['en'] in the site chrome config to drop the EN/FR switcher and hreflang alternates pointing at an unbuilt /fr/. Verified build/typecheck claims in the description are plausible given the diff's scope. Nothing blocking.

@BryanFRD
BryanFRD merged commit 3db225c into main Aug 18, 2026
20 checks passed
@BryanFRD
BryanFRD deleted the feat/site-single-locale branch August 18, 2026 08:48
@github-actions

Copy link
Copy Markdown

SonarQube — aucune nouvelle issue

Comparaison entre le projet bac à sable de cette PR et la branche par défaut : SonarQube Community n'analyse pas les PR, ce delta est calculé côté CI. Détail

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.

2 participants