link prefetching
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<script context="module">
|
||||
export async function load({ fetch }) {
|
||||
const resp = await fetch('/latest.json');
|
||||
const metadata = (await resp.json());
|
||||
const metadata = await resp.json();
|
||||
const post = await import(`./_posts/${metadata.slug}.svx`);
|
||||
return {
|
||||
props: {
|
||||
|
Reference in New Issue
Block a user