Pular para o conteúdo

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:

PagePath
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:

PagePathDescription
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/:

PagePath
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:

Terminal window
cd site && go run . build-page single

To deploy them explicitly, see Single Page Deploys.