Skip to content

feat(seo): M-24645944 fix canonical/hreflang, add descriptions and si… - #1284

Open
twosugar wants to merge 1 commit into
mainfrom
feat/M-24645944_seo_meta_hreflang
Open

twosugar wants to merge 1 commit into
mainfrom
feat/M-24645944_seo_meta_hreflang

Conversation

@twosugar

Copy link
Copy Markdown
Collaborator

…temaps

  • Fix homepage canonical pointing at /index (404); add hreflang x-default and only declare locale alternates that exist (en-only style-guide pages)
  • Per-page meta description (frontmatter description, else the page's first paragraph) and seo_title full-title override; key-page copy in en/zh-CN/zh-HK from the pages' own content; homepage uses the hero copy
  • Locale sitemaps /{en,zh-CN,zh-HK}/sitemap.xml with an index at /sitemap.xml
  • Default site to https://open.longbridge.com (sitemap/llms.txt pointed at open.longportapp.com); robots.txt disallows /zh-CN/auth and /zh-CN/account
  • Nav: collapse search to an icon button between lg and xl to stop it overlapping the nav links
  • build:canary passes its env through to astro build (sh -c) and sets the canary site host; CI uploads *.xml with no-cache

…temaps

- Fix homepage canonical pointing at /index (404); add hreflang x-default and
  only declare locale alternates that exist (en-only style-guide pages)
- Per-page meta description (frontmatter `description`, else the page's first
  paragraph) and `seo_title` full-title override; key-page copy in en/zh-CN/zh-HK
  from the pages' own content; homepage uses the hero copy
- Locale sitemaps /{en,zh-CN,zh-HK}/sitemap.xml with an index at /sitemap.xml
- Default `site` to https://open.longbridge.com (sitemap/llms.txt pointed at
  open.longportapp.com); robots.txt disallows /zh-CN/auth and /zh-CN/account
- Nav: collapse search to an icon button between lg and xl to stop it
  overlapping the nav links
- build:canary passes its env through to astro build (sh -c) and sets the
  canary site host; CI uploads *.xml with no-cache

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@twosugar
twosugar force-pushed the feat/M-24645944_seo_meta_hreflang branch from 00a1d69 to d073898 Compare October 12, 2026 09:16
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