feat(articles): visual tile on article cards with featured_image fallback#41
Merged
Conversation
Pipe .Summary through `plainify | truncate 300` on the homepage, default list, podcast list, and author page card grids so cards render uniform-length text regardless of source markup. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…fallback Give regular article cards in the list layout a left-hand visual, mirroring the podcast card. When `featured_image` is set it renders a lazy-loaded cover image; otherwise it falls back to a generated terminal tile (gray-900 prompt showing the article's category) that echoes the homepage hero — so image-less articles still get an anchor. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a left-hand visual to regular article cards in the default list layout, mirroring the podcast card's tile:
featured_imageset → lazy-loaded<img>(object-cover, square), links to the post.PS C:\>prompt showing the article's first category) that echoes the homepage hero terminal.This gives image-less articles a consistent visual anchor instead of a sparse text-only box.
Notes
_default/list.htmlwith the truncation change). Merge style(cards): plainify and truncate summaries for consistent card sizing #40 first, or retarget tomainafter it lands.legacy_featured_imagerename PR: until a realfeatured_imageis set, every article uses the terminal tile (the old WordPressfeatured_imagepaths 404 and are being parked underlegacy_featured_image).Test plan
/articles/renders terminal tiles for all current articles, no broken images🤖 Generated with Claude Code