aboutsummaryrefslogtreecommitdiffstats
path: root/app/directory.ts
diff options
context:
space:
mode:
authorLMBishop <13875753+LMBishop@users.noreply.github.com>2021-12-22 23:33:22 +0000
committerLMBishop <13875753+LMBishop@users.noreply.github.com>2021-12-22 23:33:22 +0000
commit58b50e0c90a51d5d1c8801e8d9e63bdf5d07a468 (patch)
tree7cea0419b567caa8bb83452fc6650e9da4ff3bef /app/directory.ts
parent144fec46aff02621d53fa1a101d879adaaf6126d (diff)
Fix navbar not showing
Diffstat (limited to 'app/directory.ts')
-rw-r--r--app/directory.ts4
1 files changed, 4 insertions, 0 deletions
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