Skip to content

Fix last filename inconsistency on the cocktails index (#58) - #82

Merged
britt merged 1 commit into
masterfrom
close-completed-issues
Sep 6, 2026
Merged

britt merged 1 commit into
masterfrom
close-completed-issues

Conversation

@britt

@britt britt commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Fixes #58

What #58 actually needed

The issue as originally filed proposed a card grid with hero images. It carries a correction (added when the design-system export landed, #40) ruling that out: the system's own words are "no cards … Shadows. None." — the cocktails index is a dated archive, not a card grid, and imagery belongs on the recipe pages (#59), not the index.

The corrected scope — layouts/cocktails/list.html as a DatedList (.ds-dated / .ds-dated__row), reflowing across columns, keyboard-navigable rows, no images on the index — was already implemented and shipped in #75, with a follow-up grid fix in #80. This PR closes out the one item from #58 the correction explicitly left open:

The filename inconsistencies noted below (julip/julep, slighty/slightly) are still real and still worth fixing.

julipjulep was fixed in #75. slighty-sour-strawberry.png was not — it's both a typo and truncated relative to its recipe's slug, slightly-sour-strawberry-smash.

Change

  • Renamed static/img/cocktails/slighty-sour-strawberry.pngslightly-sour-strawberry-smash.png
  • Updated the one reference to it in content/cocktails/slightly-sour-strawberry-smash/index.md

No template or CSS changes — the DatedList work is already done.

Verification

Check Result
hugo --gc --minify --printPathWarnings --panicOnWarning PASS — exit 0, no warnings
python3 scripts/check-links.py public PASS — 22 pages, no broken internal links
node scripts/style-coverage.mjs public PASS — every emitted class styled or allowlisted
node scripts/token-coverage.mjs public PASS — every token referenced or accounted for
tests/visual: npm test (scheme + axe a11y) PASS — 24/24, including keyboard traversal and focus-visible on .ds-dated__title
tests/visual: npm run test:responsive PASS — 7/7 across chromium/firefox/webkit × 6 viewports
Renamed image resolves through the Hugo image pipeline PASS — slightly-sour-strawberry-smash_hu_*.webp emitted in public/

Acceptance (as corrected by #40)

🤖 Generated with Claude Code

The last remaining filename inconsistency the issue called out: the
image was both misspelled (slighty) and truncated relative to the
recipe's slug, slightly-sour-strawberry-smash. julip/julep was already
fixed in #75.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying britt-github-com with  Cloudflare Pages  Cloudflare Pages

Latest commit: a21c97b
Status: ✅  Deploy successful!
Preview URL: https://05b16f0a.britt-github-com.pages.dev
Branch Preview URL: https://close-completed-issues.britt-github-com.pages.dev

View logs

@britt
britt merged commit 2bb83c0 into master Sep 6, 2026
5 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build the cocktails index as a card grid

1 participant