From 58b50e0c90a51d5d1c8801e8d9e63bdf5d07a468 Mon Sep 17 00:00:00 2001 From: LMBishop <13875753+LMBishop@users.noreply.github.com> Date: Wed, 22 Dec 2021 23:33:22 +0000 Subject: Fix navbar not showing --- app/directory.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app') diff --git a/app/directory.ts b/app/directory.ts index 942803a..77acacf 100644 --- a/app/directory.ts +++ b/app/directory.ts @@ -164,6 +164,10 @@ export class PageDirectory { const primaryPages = []; Object.keys(this.pages).forEach(name => { recursiveBulld(this.pages, this.pages[name], this, buildPage); + + if (this.pages[name].metadata.includeInNavbar) { + primaryPages.push(this.pages[name]); + } }); // Sort primary pages -- cgit v1.2.3-70-g09d2