Concept Flow - Template partials and layouts
Start Request
Render Main Layout
Insert Partials
Header
Render Page Content
Send Complete HTML Response
When a page is requested, Express renders a main layout template. It inserts partial templates like header and footer inside the layout, then adds the page content before sending the full HTML back.