fix: hide Featured section when there are no featured posts - #193
fix: hide Featured section when there are no featured posts#193jatinder14 wants to merge 1 commit into
Conversation
The Featured block always rendered its heading even when the featured query returned nothing. Gate the section on the collection, matching the Dawn theme pattern. Closes TryGhost#95
WalkthroughThe featured template now wraps the featured section in an Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@minimaluminium apologies for the ping — you've done most of the recent work on The No rush at all, and happy to close it if you'd rather handle it differently. |
Summary
Test plan
Closes #95