/ (Search page HTML)
HTML search page with query parsing and pagination.
Method
GET
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
q |
string | "" | Search query text. |
page |
integer | 1 | Pagination page (minimum 1). |
Behavior
- Normalizes
pageto at least 1. - Calls
main(q, page)to fetch results. -
Renders
index.htmlwith results and pagination flags.
Example
GET /?q=python+flask&page=1
Related
JSON API: /api/search