## Refined Implementation Plan: Render Attachments on Signed-In Landing Page ### Required Changes **One file only** – `devplacepy/templates/landing.html` 1. Locate the signed-in dashboard post card block (lines 68–78). After the closing `
` block and before the `
` block, insert: ```jinja {% if item.attachments %} {% set attachments = item.attachments %} {% include "_attachment_display.html" %} {% endif %} ``` This mirrors the identical block already present in the guest section (lines 211–214). **No other files need modification:** - Data layer (`main.py`) already calls `get_attachments_batch` and sets `item["attachments"]` – verified in the findings. - Schema (`LandingPostOut`) already has `attachments` field – verified. - Profile page already fixed by commit `12f4cfe`. - Guest section of landing page already fixed. ### Verification Steps (Definition of Done) - [ ] After applying the template change, run the project’s verification commands inside a valid virtual environment: - `pip install -e '.[dev]' -q && make test-unit` exits 0. - `pip install -q ruff && ruff check .` exits 0 (or reports only pre‑existing errors unrelated to the changed file). - [ ] Additionally, manually inspect the modified template to confirm the new block is syntactically valid Jinja2 (e.g., no mismatched `{% %}` tags). - [ ] The signed-in dashboard section now renders attachment galleries (`_attachment_display.html`) when `item.attachments` is non‑empty.