diff --git a/src/components/Header.astro b/src/components/Header.astro index b12b018..ce199a1 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -12,7 +12,7 @@ const [stories, briefings, episodes, guides] = await Promise.all([ const visibleNavigation = navigation.filter((item) => { if (item.href === '/stories') return stories.length > 0; if (item.href === '/briefing') return briefings.length > 0; - if (item.href === '/podcast') return episodes.length > 0 || site.podcastFeedUrl !== ''; + if (item.href === '/podcast') return episodes.length > 0 || Boolean(site.podcastFeedUrl); if (item.href === '/guides') return guides.length > 0; if (item.href === '/book') return site.book.enabled; return true;