Skip to content

Commit 9de54ee

Browse files
committed
Resolve footer even when there isn’t a navbar
Fixes #4053
1 parent bf5ae75 commit 9de54ee

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/project/types/website/website-navigation.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,10 @@ export async function initWebsiteNavigation(project: ProjectContext) {
152152
} = websiteNavigationConfig(
153153
project,
154154
);
155-
if (!navbar && !sidebars && !pageNavigation) {
155+
if (
156+
!navbar && !sidebars && !pageNavigation && !footer && !pageMargin &&
157+
!bodyDecorators
158+
) {
156159
return;
157160
}
158161

0 commit comments

Comments
 (0)