All pages done, build successful, images not working

This commit is contained in:
2023-01-31 21:23:35 +01:00
parent 236ac565f7
commit faf0abbb1e
16 changed files with 98 additions and 20 deletions

View File

@ -1,7 +1,8 @@
import type { LayoutLoad } from './$types'
export const prerender = true
export const load = (async ({ fetch }) => {
const blogPostsResponse = await fetch(`/blog/articles/pageSize/5`)
const blogPostsResponse = await fetch(`/blog/articles/pageSize/5.json`)
const blogPostsContent = await blogPostsResponse.json()
return {