Some changes to try to make routing work

This commit is contained in:
Michal Vanko 2022-04-17 11:25:58 +02:00
parent d51d3a0603
commit 67a1acd0a1
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@
props: {
latestPosts: blogPostsContent.posts.items,
// TODO Check if not bugged FIXME
// TODO remove console.logs
segment: '',
},
}

View File

@ -47,6 +47,7 @@
<title>My blog @michalvankodev</title>
</svelte:head>
{@debug posts}
{#if posts.items.length === 0}
<p class="no-posts">You've found void in the space.</p>
{:else}