3. Header and Footer via Template Partials
Shared structure now comes from template partials, while the page still owns duplicated query logic.
Comparison walkthrough: template partial approach
Shared structure now comes from template partials, while the page still owns duplicated query logic.