6️⃣ Automatic Injection Overview
| Injection Type | When It Happens | Notes |
|---|---|---|
| Live reload script | Always | Injected in every page rendered |
.page!= page block |
Only if missing in user layout.pug |
Ensures content is displayed without duplication |
.scripts!= scripts block |
Only if missing in user layout.pug |
Scripts section is added if not already present |
| User-defined blocks | Never overwritten | Preserves whatever user has already defined |
✅ This table helps you quickly see what the engine automatically injects versus what it preserves.