Initial TrueGrowth source import
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# Change: Add English SEO homepage
|
||||
|
||||
## Why
|
||||
The current SEO homepage is Chinese-only, so it cannot directly rank for English search intent such as open-source AI canvas, AI image generation workspace, and AI whiteboard.
|
||||
|
||||
## What Changes
|
||||
- Add an English static SEO homepage at `/en/home.html`.
|
||||
- Add bidirectional `hreflang` metadata between the Chinese and English homepages.
|
||||
- Keep each localized homepage self-canonical to avoid consolidating the English page into the Chinese URL.
|
||||
- Add the English homepage to the XML sitemap.
|
||||
|
||||
## Impact
|
||||
- Affected specs: `seo-homepage`
|
||||
- Affected code: `apps/web/public/home.html`, `apps/web/public/en/home.html`, `apps/web/public/sitemap.xml`
|
||||
@@ -0,0 +1,27 @@
|
||||
## ADDED Requirements
|
||||
|
||||
### Requirement: Localized SEO homepage
|
||||
The site SHALL provide an English SEO homepage with localized visible content, metadata, structured data, and a self-referencing canonical URL.
|
||||
|
||||
#### Scenario: English homepage is crawlable
|
||||
- **WHEN** a crawler requests `/en/home.html`
|
||||
- **THEN** the response contains an English HTML document
|
||||
- **AND** the document declares `lang="en"`
|
||||
- **AND** the document includes indexable metadata and structured data for OpenTu
|
||||
- **AND** the canonical URL points to `https://opentu.ai/en/home.html`
|
||||
|
||||
### Requirement: Localized homepage alternates
|
||||
The localized SEO homepages SHALL expose reciprocal alternate-language links.
|
||||
|
||||
#### Scenario: Chinese and English homepages declare alternates
|
||||
- **WHEN** a crawler reads either `/home.html` or `/en/home.html`
|
||||
- **THEN** the document declares alternates for `zh-CN`, `en`, and `x-default`
|
||||
- **AND** each localized document keeps its own self-referencing canonical URL
|
||||
|
||||
### Requirement: Localized homepage discovery
|
||||
The XML sitemap SHALL include the English homepage and its localized alternate relationship.
|
||||
|
||||
#### Scenario: Sitemap lists localized homepages
|
||||
- **WHEN** a crawler reads `/sitemap.xml`
|
||||
- **THEN** the sitemap includes `https://opentu.ai/en/home.html`
|
||||
- **AND** the Chinese and English homepage entries include reciprocal localized alternates
|
||||
@@ -0,0 +1,5 @@
|
||||
## 1. Implementation
|
||||
- [x] 1.1 Add English static homepage content and metadata
|
||||
- [x] 1.2 Add `hreflang` and social locale metadata to the Chinese homepage
|
||||
- [x] 1.3 Add the English homepage to `sitemap.xml`
|
||||
- [x] 1.4 Validate OpenSpec and static SEO structure
|
||||
Reference in New Issue
Block a user