Skip to content

Site: feature only recipes with photos on the landing page - #79

Merged
jposluns merged 1 commit into
mainfrom
claude/site-featured-with-images
Jul 7, 2026
Merged

Site: feature only recipes with photos on the landing page#79
jposluns merged 1 commit into
mainfrom
claude/site-featured-with-images

Conversation

@jposluns

@jposluns jposluns commented Jul 7, 2026

Copy link
Copy Markdown
Owner

The landing page's "A few to start with" row was showing some recipes without photos (placeholder tiles). This filters that row to recipes that have a photo.

  • Added a withImage filter in eleventy.config.js and applied it in site/index.njk before the limit of 8.
  • Verified locally: the featured row now has 8 cards, all with images, 0 placeholders.

Merging redeploys the site automatically.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HpG2vky2XhDtfc6y16TRis


Generated by Claude Code

Add a withImage Eleventy filter and apply it to the 'A few to start
with' row so it never shows placeholder tiles.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpG2vky2XhDtfc6y16TRis
@jposluns
jposluns merged commit ea66cfd into main Jul 7, 2026
4 checks passed
@jposluns
jposluns deleted the claude/site-featured-with-images branch July 7, 2026 17:14
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.

2 participants