Unit 03 · overview
Unit 3: Layouts, Includes, and Reusable Structure
You can now generate values.
The next problem is repeated structure.
This Unit moves shared HTML into layouts and includes, then makes you prove the refactor preserved output and improved ownership.
Unit question
How can many pages share structure without turning the project into duplicated HTML or an unreadable template maze?
Unit path
- The Cost of Copy-Paste HTML
- Layouts and the
contentBoundary - Build the First Layout
- Page Variables Inside Layouts
- Nested Layouts
- Includes as Smaller Reusable Pieces
- Include Parameters
- Build Reusable Navigation
- Header and Footer Refactor
- Debug Layout and Include Failures
- Unit Build: Portfolio Template Architecture
Unit artifact
A reusable layout/include architecture, multi-page navigation, change-propagation evidence, and a shared-template failure diagnosis.
Upstream foundation
This Unit adapts Jekyll's official Layouts and Includes documentation at pinned commit 74d751339d3e534aa51d5d7b0640e9bd743509e4 under the MIT License.