Layout partials
How partials keep templates reusable and maintainable.
Partials are small template building blocks for reusable UI sections: headers, meta lines, footer segments, and list cards.
Why partials
- less duplication
- clearer responsibilities
- easier changes with fewer side effects
Practical guidance
- One partial per clear responsibility.
- Avoid unnecessary nesting depth.
- Keep naming consistent (
post-meta,site-footer,pagination).
This saves time on every future theme change.