aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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