Page Types
The generator produces several categories of pages, each with its own template and data requirements.
Scope Pages
Scope Index
- Path:
/casas/,/jardim/,/condominios/ - Template:
casas_index.html - Content: Lists all 27 Brazilian states with links
State Index
- Path:
/casas/{state}/ - Template:
casas_state.html - Content: Lists cities in the state, state-specific content
City Page
- Path:
/casas/{state}/{city}/ - Template:
city.html - Content: City-specific real estate content, local market info
Topic Pages
Content topics that apply across scopes and locations:
| Page | Path |
|---|---|
| Topic Index | /energia-solar/, /iptu/ |
| Topic + State | /energia-solar/{state}/ |
| Topic + City | /energia-solar/{state}/{city}/ |
Special Pages
Utility pages that don’t fit the scope/topic model:
| Page | Path | Description |
|---|---|---|
| Home | / | Main landing page |
| Chat | /chat/ | AI chat application |
| Contact | /contato/ | Contact information |
| Blog | /blog/ | Blog index and posts |
| Calculators | /calculadoras/ | Mortgage and financing calculators |
| Login | /login/ | Authentication |
| Register | /register/ | Account creation |
| Account | /conta/ | User dashboard |
Auth Pages
Static auth pages are generated into site/public/:
| Page | Path |
|---|---|
| Login | /login/ |
| Register | /register/ |
| Account | /conta/ |
| My Listings | /conta/imoveis/ |
| New Listing | /conta/imoveis/novo/ |
| Edit Listing | /conta/imoveis/editar/ |
| Subscription | /conta/assinatura/ |
| Subscription Success | /conta/assinatura/sucesso/ |
| Subscription Cancel | /conta/assinatura/cancelar/ |
Auth pages are built alongside all single pages:
cd site && go run . build-page singleTo deploy them explicitly, see Single Page Deploys.