diff --git a/src/routes/+layout.js b/src/routes/+layout.js index 5fd74ce..833206f 100644 --- a/src/routes/+layout.js +++ b/src/routes/+layout.js @@ -1,2 +1,2 @@ -export const prerender = true; +// export const prerender = true; export const trailingSlash = 'always'; \ No newline at end of file diff --git a/src/routes/projects/projectn5/+page.svelte b/src/routes/projects/projectn5/+page.svelte index 5ecba0d..99bf3c9 100644 --- a/src/routes/projects/projectn5/+page.svelte +++ b/src/routes/projects/projectn5/+page.svelte @@ -6,7 +6,7 @@ import Gallery, { type GalleryEntry } from "$lib/lists/gallery.svelte"; let allEntries: GalleryEntry[] = posts.entries().map(mapEntries).toArray() - let entries: GalleryEntry[] = $state(allEntries.slice(0, 3)); + // let entries: GalleryEntry[] = allEntries;//$state(allEntries.slice(0, 3)); let loadEntryButton: HTMLElement; function mapEntries(m: [String, DevlogPost], index: number): GalleryEntry { @@ -19,10 +19,10 @@ }; } - function loadAllEntries() { - entries = allEntries; - loadEntryButton.style.display = "none"; - } + // function loadAllEntries() { + // entries = allEntries; + // loadEntryButton.style.display = "none"; + // } // Leftpads a single-digit number to two digits function leftpad(n: number): String { @@ -50,7 +50,7 @@

Development log entries in reverse chronological order (newest to oldest).

- + - + \ No newline at end of file diff --git a/svelte.config.js b/svelte.config.js index fdd7b04..3e2e272 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,4 +1,4 @@ -import adapter from '@sveltejs/adapter-static'; +import adapter from '@sveltejs/adapter-node'; import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; import { mdsvex } from 'mdsvex'; import * as child_process from 'node:child_process';