11 lines
292 B
JavaScript
11 lines
292 B
JavaScript
import { postData, siblingPosts } from './_posts/all.js';
|
|
|
|
|
|
// this is in a "servserside" loader so that we don't end up embedding the metadata
|
|
// for every post into the final page
|
|
export function load() {
|
|
return {
|
|
slug: postData[0].slug,
|
|
next: postData[1].slug,
|
|
};
|
|
} |