mirror of
https://github.com/youwen5/site.git
synced 2024-11-28 10:53:50 -08:00
fix: add prerender entries to /year/slug to build properly
This commit is contained in:
parent
9b5fab47c1
commit
729210cac4
1 changed files with 5 additions and 0 deletions
5
src/routes/blog/[year]/[slug]/+page.server.ts
Normal file
5
src/routes/blog/[year]/[slug]/+page.server.ts
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
import type { EntryGenerator } from './$types';
|
||||||
|
|
||||||
|
export const entries: EntryGenerator = () => {
|
||||||
|
return [{ year: '2024', slug: 'test-post' }];
|
||||||
|
};
|
Loading…
Reference in a new issue