# Visual Parity Pass 2 — Implementation Plan
**Goal:** Restore the missing team carousel on `/team/`, fix carousel image distortion, clean up markdown / autoescape glitches in `doctors.md` and navbar — closing the regressions reported after Phase 1.5 deploy.
**Architecture:** New `team_carousel.html` macro + `section.html` dispatch by `page.extra.layout`; rewrite `content/team/employees.md` to carry slides as front-matter data; spot fixes in `doctors.md` and `navbar.html`.
**Tech Stack:** Zola 0.22, Tera, Bootstrap 3 (carousel JS already wired in `base.html`), Font Awesome (icons already loaded).
---
## Task 1: Rewrite `content/team/employees.md` with carousel front matter
**Files:**
- Modify: `content/team/employees.md` (full rewrite)
Replace the entire file with TOML front matter holding the five slides and an empty body:
```toml
+++
title = "Unser Praxis-Team"
weight = 20
[extra]
anchor = "employees"
layout = "carousel"
[[extra.slides]]
name = "Frau Berscheidt"
image = "Berscheidt.jpg"
description = "Medizinische Fachangestellte, Diabetes-Assistentin"
[[extra.slides]]
name = "Frau Bolz"
image = "Bolz.jpg"
description = "Medizinische Fachangestellte"
[[extra.slides]]
name = "Frau Frohne"
image = "Frohne.jpg"
description = "Medizinische Fachangestellte"
[[extra.slides]]
name = "Frau Merhof"
image = "Merhof.jpg"
description = "Medizinische Fachangestellte"
[[extra.slides]]
name = "Frau Rodrigues"
image = "Rodrigues.jpg"
description = "Medizinische Fachangestellte"
+++
```
Commit:
```
fix(team): convert employees.md to carousel front-matter data
```
## Task 2: Create `templates/macros/team_carousel.html`
**Files:**
- Create: `templates/macros/team_carousel.html`
```html
{% macro team_carousel(title, anchor, slides) %}
{{ title }}
{{ title }}
{%- endif %}
`. - No `
- …
…
#####…
` literals in the doctors section. - No `` substrings. - [ ] Read `public/index.html` and confirm nav `` (no `/`). - [ ] `rsync -avz --delete public/ mycelium:~/public/praxis/`. - [ ] `curl -sI https://preview.praxis-am-lienhardplatz.de/team` → expect `HTTP/2 200`. - [ ] Final commit on the deploy step: ``` chore(deploy): visual parity pass 2 — team carousel restored, markup cleaned ``` - [ ] `git push origin main`. --- ## Self-review checklist (before exec) - [x] Every spec finding has a corresponding task. - [x] No placeholders / TBDs. - [x] Type consistency: `slides` list, `slide.image`, `slide.name`, `slide.description` are the same names in employees.md, the macro, and the spec. - [x] Images path: `static/images/team/