From e5e125329c43d07cf236a4f1e9035e7bdec08bff Mon Sep 17 00:00:00 2001 From: Jatinder Mahajan Date: Thu, 30 Jul 2026 08:50:02 +0530 Subject: [PATCH] fix: hide Featured section when there are no featured posts 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 #95 --- partials/components/featured.hbs | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/partials/components/featured.hbs b/partials/components/featured.hbs index 41b22939c..322648e73 100644 --- a/partials/components/featured.hbs +++ b/partials/components/featured.hbs @@ -1,14 +1,16 @@ {{#if showFeatured}} {{#get "posts" filter="featured:true" include="authors" limit=limit as |featured|}} - + + {{/if}} {{/get}} -{{/if}} \ No newline at end of file +{{/if}}