26 lines
1.1 KiB
Markdown
26 lines
1.1 KiB
Markdown
## MODIFIED Requirements
|
|
|
|
### Requirement: Indexable pages
|
|
The site MUST provide indexable HTML pages for:
|
|
- home (`/`)
|
|
- videos (`/videos`)
|
|
- podcast (`/podcast`)
|
|
- about (`/about`)
|
|
|
|
These pages MUST be server-rendered or statically generated HTML suitable for search engine crawling (not client-rendered only).
|
|
|
|
The deployed static server MUST serve these pages successfully for both trailing-slash and non-trailing-slash requests when a directory-based `index.html` exists (for example, `/videos` and `/videos/` MUST both resolve to the videos page).
|
|
|
|
#### Scenario: Crawling the home page
|
|
- **WHEN** a crawler requests `/`
|
|
- **THEN** the server returns an HTML document containing the homepage content modules and metadata
|
|
|
|
#### Scenario: Direct request without trailing slash
|
|
- **WHEN** a user requests `/videos` (no trailing slash)
|
|
- **THEN** the server returns the videos page HTML and does not respond with 404
|
|
|
|
#### Scenario: Direct request with trailing slash
|
|
- **WHEN** a user requests `/videos/` (with trailing slash)
|
|
- **THEN** the server returns the videos page HTML and does not respond with 404
|
|
|