diff --git a/builtin/forStoryblok.ts b/builtin/forStoryblok.ts index 2918c87..c3e97d9 100644 --- a/builtin/forStoryblok.ts +++ b/builtin/forStoryblok.ts @@ -3,7 +3,7 @@ import { Payload } from '../types/Payload' export const forStoryblok = async ({ dispatch }, { url: fullSlug }: Payload) => { fullSlug = fullSlug || 'home' const story = await dispatch(`storyblok/loadStory`, { fullSlug }, { root: true }) - if (story) { + if (story && story.story !== false) { return { name: 'storyblok', params: {