What a refactor of articles

This commit is contained in:
2023-02-12 14:56:49 +01:00
parent 33bf6769e4
commit f156d4dacc
35 changed files with 228 additions and 134 deletions

View File

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