Component for PCBs, many visual tweaks, finished dechorionator content, added many many photos, started work on mars rover software lead, timeline to luxon and automatic date-based ordering #18

Merged
caperren merged 2 commits from website-content-updates into main 2025-12-13 07:23:42 +00:00
2 changed files with 8 additions and 2 deletions
Showing only changes of commit dac9e80efd - Show all commits

View File

@@ -269,7 +269,10 @@ export const getPaths = (
]; ];
} else { } else {
let enabled = currentEntry.enabled ?? true; let enabled = currentEntry.enabled ?? true;
if (disabledOnly ? !enabled : enabled) { if (
(disabledOnly ? !enabled : enabled) &&
!currentEntry.placeholderEntry
) {
foundPaths.push("/" + [...paths, currentEntry.path || ""].join("/")); foundPaths.push("/" + [...paths, currentEntry.path || ""].join("/"));
} }
} }

View File

@@ -40,5 +40,8 @@ test("Pages Missing from Astro Paths", () => {
siteLayoutPaths, siteLayoutPaths,
astroStaticPaths, astroStaticPaths,
); );
expect(siteLayoutNotAstroPaths).toHaveLength(0); expect(
siteLayoutNotAstroPaths,
`FOUND: ${[...siteLayoutNotAstroPaths]}`,
).toHaveLength(0);
}); });