From 67a1acd0a17b28000addf1c51d9b0b06344961a5 Mon Sep 17 00:00:00 2001 From: Michal Vanko Date: Sun, 17 Apr 2022 11:25:58 +0200 Subject: [PATCH] Some changes to try to make routing work --- src/routes/__layout.svelte | 1 + src/routes/blog/[...params].svelte | 1 + 2 files changed, 2 insertions(+) diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index 27e4924..52113fd 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -9,6 +9,7 @@ props: { latestPosts: blogPostsContent.posts.items, // TODO Check if not bugged FIXME + // TODO remove console.logs segment: '', }, } diff --git a/src/routes/blog/[...params].svelte b/src/routes/blog/[...params].svelte index c96a16c..8dbd612 100644 --- a/src/routes/blog/[...params].svelte +++ b/src/routes/blog/[...params].svelte @@ -47,6 +47,7 @@ My blog @michalvankodev +{@debug posts} {#if posts.items.length === 0}

You've found void in the space.

{:else}