Site Themes275 Documents

Layout Header And Footer

In sites and themes, always prefer defining and rendering Header and Footer inside layouts rather than pages. Keep shared page framing in the owning layout whenever practical.

Philosophy

Layouts provide consistent page framing and avoid repeating Header and Footer composition across pages.

Fix

Move shared Header and Footer composition from pages into the owning layout, keeping page-specific content in the pages.