This commit is contained in:
2026-03-23 07:42:00 +01:00
parent 567fb4f746
commit 4b8b610e32
43 changed files with 635 additions and 169 deletions
+7 -1
View File
@@ -48,7 +48,13 @@ function grabPageDirRecursively({ page_dir }) {
}
}
}
return pages_files;
return pages_files.sort((a, b) => {
if (a.url_path === "/index")
return -1;
if (b.url_path === "/index")
return 1;
return 0;
});
}
function grabPageFileObject({ file_path, }) {
let url_path = file_path