diff --git a/bun.lockb b/bun.lockb
index c261f1a..ccec66b 100755
Binary files a/bun.lockb and b/bun.lockb differ
diff --git a/hack/convert-meshes.ts b/hack/convert-meshes.ts
index 1cc7324..a760bc5 100644
--- a/hack/convert-meshes.ts
+++ b/hack/convert-meshes.ts
@@ -95,8 +95,6 @@ export const convertMeshes = async () => {
}
}
- console.log({ propertyList });
-
const vertexCount = Number(
headerLines
.find((header) => header.startsWith("element vertex"))
diff --git a/hack/generate.ts b/hack/generate.ts
index cc8774f..a1f2313 100644
--- a/hack/generate.ts
+++ b/hack/generate.ts
@@ -11,7 +11,18 @@ export const generate = async (works: string[]) => {
.reverse();
for (const work of allWorks) {
- const html = `${workTemplate}`.replace(/##name##/g, work);
+ const workIndex = allWorks.findIndex((w) => w === work);
+ const previous = allWorks[(workIndex as any) + 1] ?? null;
+ const next = allWorks[(workIndex as any) - 1] ?? null;
+
+ let nav = ``;
+ if (previous)
+ nav += `⇠ ${previous}`;
+ if (next) nav += `${next} ⇢`;
+
+ const html = `${workTemplate}`
+ .replace(/##name##/g, work)
+ .replace(/##nav##/g, nav);
mkdirSync(`html/${work}`, { recursive: true });
await Bun.write(`html/${work}/index.html`, html);
diff --git a/hack/templates/work.html.txt b/hack/templates/work.html.txt
index 19ee715..55a9dda 100644
--- a/hack/templates/work.html.txt
+++ b/hack/templates/work.html.txt
@@ -21,5 +21,8 @@