Skip to content

Route-aware content pages

Use Demo Projects HQ page tiles to see the list, detail, and form pages that routing targets.

Once a layout is chosen, the routed content page becomes the screen-specific destination. Demo Projects HQ makes that easy to read because its list, detail, and form pages are all visible as real page tiles.

Collection pages summarize many records.
Detail pages focus one route-selected record.
Create and edit pages turn that route into a task flow.

The Pages tree is the quickest way to tell whether you are looking at shared layouts or the actual routed screens users visit. For route-aware work, the interesting files live at the Pages root rather than inside layouts.

Layouts are wrappers.
Root pages are the destination files.
Routes normally point at these concrete destination pages.

Selecting the real Pages root exposes the content page tiles that map to meaningful routes in Demo Projects HQ. That makes the list, detail, and form patterns visible as concrete files instead of documentation vocabulary.

projects.ejs is the list-style destination. This is the page pattern you open when a route needs to summarize many records and give the user a starting point for navigation.

Collection pages show many records at once.
They usually link deeper into detail or create flows.
They are often the first page a user lands on after login.

project.ejs is the detail-style destination. It exists for a route that identifies one specific record, which is why detail pages usually depend on route parameters or record context.

Detail pages focus on one selected record.
A URL parameter often decides which record loads.
They commonly link back to the collection page.

project_add.ejs is the task-oriented page pattern. It turns navigation into a concrete user job like adding a record, which is why form pages deserve their own route instead of being hidden inside a list screen.

Task pages guide the user through one focused action.
A dedicated route keeps the workflow predictable.
After save, they usually redirect back into a list or detail page.

After the page roles are clear, the next question is how URLs choose between them. That is the routing layer’s job.

Routes map URLs to the correct content page.
Layouts wrap the page after that decision is made.
Internal links should follow those generated route patterns.