From 01f775a2eb8f5fcd13e8e63d69783dd07faa82cb Mon Sep 17 00:00:00 2001 From: sumitshinde-84 Date: Fri, 20 Nov 2026 18:34:29 +0530 Subject: [PATCH 1/2] Fix blog listing going empty when a post is scheduled isFuturePost() called useRuntimeConfig() only for future-dated posts, and several callers run it inside useAsyncData after an await, where there is no Nuxt instance. The call threw, the blog listing came back empty, and the nav's /blog/#sign-up anchor broke the link check on every page. Read the production flag in setup via useIsFuturePost() and pass it in. Also leave scheduled posts out of the post page's related-posts payload. --- nuxt/components/ExploreMoreContent.vue | 4 +++- nuxt/composables/useBlogList.ts | 11 +++++++++-- nuxt/pages/blog/[...slug].vue | 6 ++++-- nuxt/pages/blog/author/[slug].vue | 3 ++- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/nuxt/components/ExploreMoreContent.vue b/nuxt/components/ExploreMoreContent.vue index 4760a4f585..48ca3f14bd 100644 --- a/nuxt/components/ExploreMoreContent.vue +++ b/nuxt/components/ExploreMoreContent.vue @@ -1,5 +1,5 @@